]>
Dogcows Code - chaz/openbox/blob - openbox/dispatch.h
7 void dispatch_startup();
8 void dispatch_shutdown();
11 Event_X_EnterNotify
= 1 << 0,
12 Event_X_LeaveNotify
= 1 << 1,
13 Event_X_KeyPress
= 1 << 2,
14 Event_X_KeyRelease
= 1 << 3,
15 Event_X_ButtonPress
= 1 << 4,
16 Event_X_ButtonRelease
= 1 << 5,
17 Event_X_MotionNotify
= 1 << 6,
18 Event_X_Bell
= 1 << 7,
20 Event_Client_New
= 1 << 8, /* new window, before mapping */
21 Event_Client_Mapped
= 1 << 9, /* new window, after mapping */
22 Event_Client_Destroy
= 1 << 10, /* unmanaged */
23 Event_Client_Focus
= 1 << 11, /* focused */
24 Event_Client_Unfocus
= 1 << 12, /* unfocused */
25 Event_Client_Urgent
= 1 << 13, /* entered/left urgent state */
26 Event_Client_Visible
= 1 << 14, /* shown/hidden (not on a workspace or
27 show-the-desktop change though) */
29 Event_Ob_Desktop
= 1 << 15, /* changed desktops */
30 Event_Ob_NumDesktops
= 1 << 16, /* changed the number of desktops */
31 Event_Ob_ShowDesktop
= 1 << 17, /* entered/left show-the-desktop mode */
32 Event_Ob_Startup
= 1 << 18, /* startup complete */
33 Event_Ob_Shutdown
= 1 << 19, /* shutdown about to start */
35 Event_Signal
= 1 << 20,
46 EventData_X x
; /* for Event_X_* event types */
47 Client
*client
; /* for Event_Client_* event types */
56 typedef void (*EventHandler
)(const ObEvent
*e
);
58 typedef unsigned int EventMask
;
60 void dispatch_register(EventHandler h
, EventMask mask
);
62 void dispatch_x(XEvent
*e
, Client
*c
);
63 void dispatch_client(EventType e
, Client
*c
);
64 void dispatch_ob(EventType e
);
65 void dispatch_signal(int signal
);
This page took 0.037459 seconds and 5 git commands to generate.