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