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.
This commit is contained in:
Benedikt Heine 2017-11-26 21:04:29 +01:00
parent 43b9c45cd8
commit 1fc96e9691

View File

@ -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);