From 1fc96e96916d1ddd2835d6991152f66df72f5149 Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Sun, 26 Nov 2017 21:04:29 +0100 Subject: [PATCH] Call XFlush after redrawing the window The commit 7f335b7 introduced, that specific notifications did not time out properly. Although these had been internally closed already, X11 still displayed them. --- src/x11/x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/x11/x.c b/src/x11/x.c index 9a6c23a..795be15 100644 --- a/src/x11/x.c +++ b/src/x11/x.c @@ -701,6 +701,8 @@ void x_win_draw(void) cairo_paint(cairo_ctx.context); cairo_show_page(cairo_ctx.context); + XFlush(xctx.dpy); + cairo_destroy(c); cairo_surface_destroy(image_surface); r_free_layouts(layouts);