diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-11-23 05:48:34 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@his.com> | 2019-11-23 10:54:00 +0000 |
commit | f973b774e8b1732afbe5a41543a2c7d556845c5d (patch) | |
tree | a8ca8e8c68bcd19b7ff62fca1409fdb5be55c287 /src/events.h | |
parent | e2a533d16e047af1c5db19aa9340414b33061d2d (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_ */ |