From: Michael D. Lowis Date: Sun, 30 Apr 2017 20:41:29 +0000 (-0400) Subject: Put back in the flush after drawing. without that input events like the mouse can... X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=2218455bdb66c672c0dc1f17a0aee6d41dc09eeb;p=projs%2Ftide.git Put back in the flush after drawing. without that input events like the mouse can take way too long --- diff --git a/lib/x11.c b/lib/x11.c index e48b5cc..a4bc436 100644 --- 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); } }