diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-11-23 05:48:34 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-11-23 05:48:34 -0500 |
commit | 077a496c38fc993d7691ce5aab1e9c2b4aee4b02 (patch) | |
tree | a426a7cb6deae949b6d6931ca6c0bd371a9ad9ac /src/events.h | |
parent | 2e0923ba703d040160bac1deb05d5d6d4cbd62aa (diff) |
Formatted most of the C files using "twm-indent", part of cindent at
https://invisible-island.net/cindent/
That is essentially a script which adds typedefs to the x-indent.sh script.
No object-code changed in this reformatting.
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/events.h')
-rw-r--r-- | src/events.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/src/events.h b/src/events.h index f554642..085439f 100644 --- a/src/events.h +++ b/src/events.h @@ -49,7 +49,6 @@ in this Software without prior written authorization from The Open Group. /** OR PERFORMANCE OF THIS SOFTWARE. **/ /*****************************************************************************/ - /*********************************************************************** * * twm event handler include file @@ -64,46 +63,47 @@ in this Software without prior written authorization from The Open Group. #include "screen.h" #include "twm.h" -typedef void (*event_proc)(void); +typedef void (*event_proc) (void); extern Time lastTimestamp; + #define LastTimestamp() lastTimestamp -extern void AutoRaiseWindow ( TwmWindow *tmp ); -extern void SetRaiseWindow ( TwmWindow *tmp ); -extern void InitEvents ( void ); -extern Bool StashEventTime ( XEvent *ev ); -extern Window WindowOfEvent ( XEvent *e ); -extern Bool DispatchEvent2 ( void ); -extern Bool DispatchEvent ( void ); -extern void HandleEvents ( void ); -extern void HandleColormapNotify ( void ); -extern void HandleVisibilityNotify ( void ); -extern void HandleKeyPress ( void ); -extern void free_cwins ( TwmWindow *tmp ); -extern void HandlePropertyNotify ( void ); -extern void HandleClientMessage ( void ); -extern void HandleExpose ( void ); -extern void HandleDestroyNotify ( void ); -extern void HandleCreateNotify ( void ); -extern void HandleMapRequest ( void ); -extern void SimulateMapRequest ( Window w ); -extern void HandleMapNotify ( void ); -extern void HandleUnmapNotify ( void ); -extern void HandleMotionNotify ( void ); -extern void HandleButtonRelease ( void ); -extern void HandleButtonPress ( void ); -extern void HandleEnterNotify ( void ); -extern void HandleLeaveNotify ( void ); -extern void HandleConfigureRequest ( void ); -extern void HandleShapeNotify ( void ); -extern void HandleScreenChangeNotify ( void ); -extern void HandleUnknown ( void ); -extern int Transient ( Window w, Window *propw ); -extern ScreenInfo * FindScreenInfo ( Window w ); -extern void InstallWindowColormaps ( int type, TwmWindow *tmp ); -extern void InstallRootColormap ( void ); -extern void UninstallRootColormap ( void ); +extern void AutoRaiseWindow(TwmWindow *tmp); +extern void SetRaiseWindow(TwmWindow *tmp); +extern void InitEvents(void); +extern Bool StashEventTime(XEvent *ev); +extern Window WindowOfEvent(XEvent *e); +extern Bool DispatchEvent2(void); +extern Bool DispatchEvent(void); +extern void HandleEvents(void); +extern void HandleColormapNotify(void); +extern void HandleVisibilityNotify(void); +extern void HandleKeyPress(void); +extern void free_cwins(TwmWindow *tmp); +extern void HandlePropertyNotify(void); +extern void HandleClientMessage(void); +extern void HandleExpose(void); +extern void HandleDestroyNotify(void); +extern void HandleCreateNotify(void); +extern void HandleMapRequest(void); +extern void SimulateMapRequest(Window w); +extern void HandleMapNotify(void); +extern void HandleUnmapNotify(void); +extern void HandleMotionNotify(void); +extern void HandleButtonRelease(void); +extern void HandleButtonPress(void); +extern void HandleEnterNotify(void); +extern void HandleLeaveNotify(void); +extern void HandleConfigureRequest(void); +extern void HandleShapeNotify(void); +extern void HandleScreenChangeNotify(void); +extern void HandleUnknown(void); +extern int Transient(Window w, Window *propw); +extern ScreenInfo *FindScreenInfo(Window w); +extern void InstallWindowColormaps(int type, TwmWindow *tmp); +extern void InstallRootColormap(void); +extern void UninstallRootColormap(void); extern event_proc EventHandler[]; extern Window DragWindow; @@ -127,4 +127,4 @@ extern unsigned int mods_used; extern int MovedFromKeyPress; -#endif /* _EVENTS_ */ +#endif /* _EVENTS_ */ |