source: trunk/third/mwm/WmCEvent.h @ 9757

Revision 9757, 3.6 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r9756, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
3 * ALL RIGHTS RESERVED
4*/
5/*
6 * Motif Release 1.2
7*/
8/*   $RCSfile: WmCEvent.h,v $ $Revision: 1.1.1.1 $ $Date: 1997-03-25 09:12:17 $ */
9/*
10 * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */
11
12#ifdef _NO_PROTO
13void            CheckButtonPressBuiltin ();
14void            CheckButtonReleaseBuiltin ();
15Window          GetParentWindow ();
16WmScreenData   *GetScreenForWindow ();
17Boolean         HandleCButtonPress ();
18void            HandleCButtonRelease ();
19void            HandleCColormapNotify ();
20void            HandleCConfigureRequest ();
21void            HandleCEnterNotify ();
22void            HandleCLeaveNotify ();
23Boolean         HandleCFocusIn ();
24Boolean         HandleCFocusOut ();
25Boolean         HandleCKeyPress ();
26void            HandleClientMessage ();
27void            HandleCMotionNotify ();
28void            HandleCPropertyNotify ();
29#ifndef NO_SHAPE
30void            HandleCShapeNotify();
31#endif /* NO_SHAPE */
32Boolean         HandleEventsOnClientWindow ();
33Boolean         HandleEventsOnSpecialWindows ();
34void            HandleIconBoxButtonPress ();
35void            HandleIconButtonPress ();
36void            ProcessButtonGrabOnClient ();
37void            SetupCButtonBindings ();
38void            DetermineActiveScreen ();
39Boolean         WmDispatchClientEvent ();
40
41#else /* _NO_PROTO */
42
43extern void CheckButtonPressBuiltin (XButtonEvent *buttonEvent,
44                                     Context context, Context subContext,
45                                     int partContext, ClientData *pCD);
46extern void CheckButtonReleaseBuiltin (XButtonEvent *buttonEvent,
47                                       Context context, Context subContext,
48                                       ClientData *pCD);
49extern Window GetParentWindow (Window window);
50extern WmScreenData *GetScreenForWindow (Window win);
51extern Boolean HandleCButtonPress (ClientData *pCD, XButtonEvent *buttonEvent);
52extern void HandleCButtonRelease (ClientData *pCD, XButtonEvent *buttonEvent);
53extern void HandleCColormapNotify (ClientData *pCD,
54                                   XColormapEvent *colorEvent);
55extern void HandleCConfigureRequest (ClientData *pCD,
56                                     XConfigureRequestEvent *configureRequest);
57extern void HandleCEnterNotify (ClientData *pCD,
58                                XEnterWindowEvent *enterEvent);
59extern void HandleCLeaveNotify (ClientData *pCD,
60                                XLeaveWindowEvent *leaveEvent);
61extern Boolean HandleCFocusIn (ClientData *pCD,
62                               XFocusChangeEvent *focusChangeEvent);
63extern Boolean HandleCFocusOut (ClientData *pCD,
64                                XFocusChangeEvent *focusChangeEvent);
65extern Boolean HandleCKeyPress (ClientData *pCD, XKeyEvent *keyEvent);
66extern void HandleClientMessage (ClientData *pCD,
67                                 XClientMessageEvent *clientEvent);
68extern void HandleCMotionNotify (ClientData *pCD, XMotionEvent *motionEvent);
69extern void HandleCPropertyNotify (ClientData *pCD,
70                                   XPropertyEvent *propertyEvent);
71#ifndef NO_SHAPE
72extern void HandleCShapeNotify (ClientData *pCD,  XShapeEvent *shapeEvent);
73#endif /* NO_SHAPE */
74extern Boolean HandleEventsOnClientWindow (ClientData *pCD, XEvent *pEvent);
75extern Boolean HandleEventsOnSpecialWindows (XEvent *pEvent);
76
77
78extern void SetupCButtonBindings (Window window, ButtonSpec *buttonSpecs);
79extern Boolean WmDispatchClientEvent (XEvent *event);
80extern void HandleIconBoxButtonPress (ClientData *pCD,
81                                      XButtonEvent *buttonEvent,
82                                      Context subContext);
83extern void HandleIconButtonPress (ClientData *pCD, XButtonEvent *buttonEvent);
84
85
86extern void ProcessButtonGrabOnClient (ClientData *pCD,
87                                       XButtonEvent *buttonEvent,
88                                       Boolean replayEvent);
89extern void SetupCButtonBindings (Window window, ButtonSpec *buttonSpecs);
90extern void DetermineActiveScreen (XEvent *pEvent);
91extern Boolean WmDispatchClientEvent (XEvent *event);
92#endif /* _NO_PROTO */
93
94#define SetActiveScreen(psd) (ACTIVE_PSD=(psd), wmGD.queryScreen=False)
Note: See TracBrowser for help on using the repository browser.