]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.h
Added a menu to read from a pipe.
[chaz/openbox] / openbox / event.h
index b3d14859d023f0fcd30e781c9d7f4c5f903444a8..b8f567a8d9c41978636d10cf2969db1957ba6029 100644 (file)
@@ -5,9 +5,6 @@
 
 /*! 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;
@@ -17,6 +14,15 @@ 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.022063 seconds and 4 git commands to generate.