6 /* ---------------------------- included header files ---------------------- */
8 /* ---------------------------- global definitions ------------------------- */
10 /* ---------------------------- global macros ------------------------------ */
12 /* ---------------------------- type definitions --------------------------- */
19 } test_typed_window_event_args
;
21 /* ---------------------------- forward declarations ----------------------- */
23 /* ---------------------------- exported variables (globals) --------------- */
25 /* ---------------------------- interface functions ------------------------ */
27 void dispatch_event(XEvent
*e
);
28 int GetContext(FvwmWindow
**ret_fw
, FvwmWindow
*t
, const XEvent
*e
, Window
*w
);
29 int My_XNextEvent(Display
*dpy
, XEvent
*event
);
30 int flush_expose(Window w
);
31 int flush_accumulate_expose(Window w
, XEvent
*e
);
32 void handle_all_expose(void);
33 Bool
StashEventTime(const XEvent
*ev
);
34 void CoerceEnterNotifyOnCurrentWindow(void);
35 void InitEventHandlerJumpTable(void);
36 void SendConfigureNotify(
37 FvwmWindow
*fw
, int x
, int y
, int w
, int h
, int bw
,
38 Bool send_for_frame_too
);
39 void WaitForButtonsUp(Bool do_handle_expose
);
40 int discard_events(long event_mask
);
41 int discard_window_events(Window w
, long event_mask
);
42 int flush_property_notify(Atom atom
, Window w
);
43 void sync_server(int toggle
);
44 Bool
is_resizing_event_pending(FvwmWindow
*fw
);
45 void events_handle_configure_request(
46 XConfigureRequestEvent cre
, FvwmWindow
*fw
, Bool force_use_grav
,
48 Bool
test_button_event(Display
*display
, XEvent
*event
, char *arg
);
49 Bool
test_typed_window_event(Display
*display
, XEvent
*event
, char *arg
);