From c8565d21d4a5e45bbe67ff7cf268582c0acad72f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 29 Sep 2003 10:05:43 +0000 Subject: provide a callback for when there are no more X events to process --- openbox/mainloop.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbox/mainloop.h') 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, -- cgit v1.2.3