]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.h
Added a menu to read from a pipe.
[chaz/openbox] / openbox / event.h
index 9153116ed8bac39f7f4ee713397b33a5096314e2..b8f567a8d9c41978636d10cf2969db1957ba6029 100644 (file)
@@ -1,12 +1,28 @@
 #ifndef __events_h
 #define __events_h
 
+#include <X11/Xlib.h>
+
 /*! Time at which the last event with a timestamp occured. */
 extern Time event_lasttime;
 
+/*! The value of the mask for the NumLock modifier */
+extern unsigned int NumLockMask;
+/*! The value of the mask for the ScrollLock modifier */
+extern unsigned int ScrollLockMask;
+
 void event_startup();
 void event_shutdown();
 
+typedef struct event_fd_handler {
+    int fd;
+    void *data;
+    void (*handler)(int fd, void *data);
+} event_fd_handler;
+
+void event_add_fd_handler(event_fd_handler *handler);
+void event_remove_fd(int n);
+
 void event_loop();
 
 #endif
This page took 0.020644 seconds and 4 git commands to generate.