From 2218455bdb66c672c0dc1f17a0aee6d41dc09eeb Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Sun, 30 Apr 2017 16:41:29 -0400 Subject: [PATCH] Put back in the flush after drawing. without that input events like the mouse can take way too long --- lib/x11.c | 1 + 1 file changed, 1 insertion(+) 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); } } -- 2.52.0