X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fmainloop.h;h=45cef18205b0b03bf5c0821347c60e9945cb1888;hb=3039eb960c9e300a0aa4d9e90deda0a20b6af778;hp=b04ead5084da68fe05678cd862f0bedf634f60fb;hpb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;p=chaz%2Fopenbox diff --git a/openbox/mainloop.h b/openbox/mainloop.h index b04ead50..45cef182 100644 --- a/openbox/mainloop.h +++ b/openbox/mainloop.h @@ -65,7 +65,14 @@ void ob_main_loop_timeout_remove(ObMainLoop *loop, GSourceFunc handler); void ob_main_loop_timeout_remove_data(ObMainLoop *loop, GSourceFunc handler, - gpointer data); + gpointer data, + gboolean cancel_dest); + +struct _ObAction; + +/*! Queues an action, which will be run when there are no more X events + to process */ +void ob_main_loop_queue_action(ObMainLoop *loop, struct _ObAction *act); void ob_main_loop_run(ObMainLoop *loop); void ob_main_loop_exit(ObMainLoop *loop);