]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.h
new method for loading menu files etc
[chaz/openbox] / openbox / event.h
index b3d14859d023f0fcd30e781c9d7f4c5f903444a8..6aade180b871ca185be36b0c5376b3cfd3156910 100644 (file)
@@ -5,18 +5,24 @@
 
 /*! Time at which the last event with a timestamp occured. */
 extern Time event_lasttime;
-/*! Time at which the last event with a timestamp occured before we tried to
-  unfocus a window. */
-extern Time event_unfocustime;
 
 /*! The value of the mask for the NumLock modifier */
-extern unsigned int NumLockMask;
+extern guint NumLockMask;
 /*! The value of the mask for the ScrollLock modifier */
-extern unsigned int ScrollLockMask;
+extern guint ScrollLockMask;
 
 void event_startup();
 void event_shutdown();
 
+typedef struct event_fd_handler {
+    gint fd;
+    gpointer data;
+    void (*handler)(gint fd, gpointer data);
+} event_fd_handler;
+
+void event_add_fd_handler(event_fd_handler *handler);
+void event_remove_fd(gint n);
+
 void event_loop();
 
 #endif
This page took 0.022773 seconds and 4 git commands to generate.