From 87430acf3461a071a1ac48738290513f2fe44951 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 26 Sep 2003 17:29:12 +0000 Subject: queue up ObActions and run them when idle --- openbox/mainloop.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openbox/mainloop.h') diff --git a/openbox/mainloop.h b/openbox/mainloop.h index b04ead50..82aa70ca 100644 --- a/openbox/mainloop.h +++ b/openbox/mainloop.h @@ -67,6 +67,12 @@ void ob_main_loop_timeout_remove_data(ObMainLoop *loop, GSourceFunc handler, gpointer data); +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); -- cgit v1.2.3