]> Dogcows Code - chaz/openbox/blob - openbox/event.h
move ob_pointer_pos to screen_pointer_pos
[chaz/openbox] / openbox / event.h
1 #ifndef __events_h
2 #define __events_h
3
4 #include <X11/Xlib.h>
5
6 /*! Time at which the last event with a timestamp occured. */
7 extern Time event_lasttime;
8
9 /*! The value of the mask for the NumLock modifier */
10 extern unsigned int NumLockMask;
11 /*! The value of the mask for the ScrollLock modifier */
12 extern unsigned int ScrollLockMask;
13
14 void event_startup();
15 void event_shutdown();
16
17 typedef struct event_fd_handler {
18 int fd;
19 void *data;
20 void (*handler)(int fd, void *data);
21 } event_fd_handler;
22
23 void event_add_fd_handler(event_fd_handler *handler);
24 void event_remove_fd(int n);
25
26 void event_loop();
27
28 #endif
This page took 0.032388 seconds and 4 git commands to generate.