summaryrefslogtreecommitdiff
path: root/openbox/mainloop.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-29 10:05:43 +0000
committerDana Jansens <danakj@orodu.net>2003-09-29 10:05:43 +0000
commitc8565d21d4a5e45bbe67ff7cf268582c0acad72f (patch)
tree191b500e584a171915157c34e836aa599c349dec /openbox/mainloop.h
parentc22a6b32ab23a4193863882e14fc6ff77ed3d247 (diff)
provide a callback for when there are no more X events to process
Diffstat (limited to 'openbox/mainloop.h')
-rw-r--r--openbox/mainloop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/mainloop.h b/openbox/mainloop.h
index 82aa70ca..f1ff986e 100644
--- a/openbox/mainloop.h
+++ b/openbox/mainloop.h
@@ -28,9 +28,11 @@ ObMainLoop *ob_main_loop_new(Display *display);
void ob_main_loop_destroy(ObMainLoop *loop);
typedef void (*ObMainLoopXHandler) (const XEvent *e, gpointer data);
+typedef void (*ObMainLoopXDoneHandler) (gpointer data);
void ob_main_loop_x_add(ObMainLoop *loop,
ObMainLoopXHandler handler,
+ ObMainLoopXDoneHandler done_handler,
gpointer data,
GDestroyNotify notify);
void ob_main_loop_x_remove(ObMainLoop *loop,