WIP: dispatch sd_events, but break qt event handling
[staging/windowmanager.git] / AFBClient.cpp
index 6f66a5f..fdfeca8 100644 (file)
@@ -104,6 +104,10 @@ void AFBClient::activateSurface(const char *label)
     fflush(stdout);
 }
 
+int AFBClient::dispatch() {
+    return sd_event_run(loop, -1);
+}
+
 void AFBClient::deactivateSurface(const char *label)
 {
     UNUSED(label);