]> git.mdlowis.com Git - projs/tide.git/commitdiff
added flush to event processing loop
authorMichael D. Lowis <mike.lowis@gentex.com>
Mon, 20 May 2019 16:18:52 +0000 (12:18 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Mon, 20 May 2019 16:18:52 +0000 (12:18 -0400)
src/lib/x11.c

index 6c2abc4cb06001bed6f1f582d4e07a542499b9e6..56296ccf26652c50cef5536794b3e8bc408704cb 100644 (file)
@@ -94,6 +94,7 @@ int x11_process_events(XConf* x, void (*redrawfn)(XConf*)) {
                 (x->eventfns[e.type])(x, &e);
         }
         if (nqueued) redrawfn(x);
+        XFlush(x->display);
     } while ((nqueued = XEventsQueued(x->display, QueuedAfterFlush)) > 0);
     return 0;
 }