From 7b77953354d9860130d8ea273dfbcf275db150aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sat, 15 May 2021 00:56:51 -0400 Subject: [PATCH] Fix issue where X11 window would be blank on an Expose event. --- src/conio/x_events.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/conio/x_events.c b/src/conio/x_events.c index 0edc68a708..79a6df5977 100644 --- a/src/conio/x_events.c +++ b/src/conio/x_events.c @@ -216,6 +216,10 @@ static void resize_xim(void) if (xim) { if (width == xim->width && height == xim->height) { + if (last) { + release_buffer(last); + last = NULL; + } x11.XFillRectangle(dpy, win, gc, 0, 0, x11_window_width, x11_window_height); return; } -- GitLab