]> git.mdlowis.com Git - projs/tide.git/commitdiff
Put back in the flush after drawing. without that input events like the mouse can...
authorMichael D. Lowis <mike@mdlowis.com>
Sun, 30 Apr 2017 20:41:29 +0000 (16:41 -0400)
committerMichael D. Lowis <mike@mdlowis.com>
Sun, 30 Apr 2017 20:41:29 +0000 (16:41 -0400)
lib/x11.c

index e48b5cce750139ce571a2884263ef9007ccfe808..a4bc436c8b0b42e505c4662b7d0d03a85ddfc32f 100644 (file)
--- a/lib/x11.c
+++ b/lib/x11.c
@@ -338,6 +338,7 @@ void x11_loop(void) {
             /* redraw the window */
             Config->redraw(X.width, X.height);
             XCopyArea(X.display, X.pixmap, X.window, X.gc, 0, 0, X.width, X.height, 0, 0);
+            XFlush(X.display);
         }
         
     }