diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:47 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:47 +0000 |
commit | 22e912f7338ee41bd0f84f4330f4e8bc0c7501d9 (patch) | |
tree | bd48cdf361c0881f45d09ce46c478ad8674e87c1 /src/events.h | |
parent | cfa9fa24253b5ef8045172852509be413d7b00ca (diff) |
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'src/events.h')
-rw-r--r-- | src/events.h | 72 |
1 files changed, 47 insertions, 25 deletions
diff --git a/src/events.h b/src/events.h index adb15b5..1187c0d 100644 --- a/src/events.h +++ b/src/events.h @@ -48,6 +48,7 @@ in this Software without prior written authorization from The Open Group. /** TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE **/ /** OR PERFORMANCE OF THIS SOFTWARE. **/ /*****************************************************************************/ +/* $XFree86: xc/programs/twm/events.h,v 1.6 2001/12/14 20:01:07 dawes Exp $ */ /*********************************************************************** @@ -63,34 +64,49 @@ in this Software without prior written authorization from The Open Group. #ifndef _EVENTS_ #define _EVENTS_ -typedef void (*event_proc)(); +#include "screen.h" +#include "twm.h" + +typedef void (*event_proc)(void); -extern void InitEvents(); -extern Bool StashEventTime(); extern Time lastTimestamp; -extern void SimulateMapRequest(); -extern void AutoRaiseWindow(); #define LastTimestamp() lastTimestamp -extern Bool DispatchEvent(); -extern Bool DispatchEvent2(); -extern void HandleEvents(); -extern void HandleExpose(); -extern void HandleDestroyNotify(); -extern void HandleMapRequest(); -extern void HandleMapNotify(); -extern void HandleUnmapNotify(); -extern void HandleMotionNotify(); -extern void HandleButtonRelease(); -extern void HandleButtonPress(); -extern void HandleEnterNotify(); -extern void HandleLeaveNotify(); -extern void HandleConfigureRequest(); -extern void HandleClientMessage(); -extern void HandlePropertyNotify(); -extern void HandleKeyPress(); -extern void HandleColormapNotify(); -extern void HandleVisibilityNotify(); -extern void HandleUnknown(); + +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 RedoIconName ( 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 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; @@ -106,6 +122,12 @@ extern int CurrentDragY; extern int ButtonPressed; extern int Cancel; +extern int Context; + extern XEvent Event; +extern unsigned int mods_used; + +extern int MovedFromKeyPress; + #endif /* _EVENTS_ */ |