aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/event/Loop.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx
index 31ef1613c..72731ea2b 100644
--- a/src/event/Loop.hxx
+++ b/src/event/Loop.hxx
@@ -48,6 +48,10 @@ public:
return context;
}
+ void WakeUp() {
+ g_main_context_wakeup(context);
+ }
+
void Break() {
g_main_loop_quit(loop);
}