Commit ca22bd6d authored by Deucе's avatar Deucе 👌🏾
Browse files

Fix issue where X11 window would be blank on an Expose event.

parent ebec9c91
Pipeline #2195 failed with stage
in 8 minutes and 30 seconds
...@@ -216,6 +216,10 @@ static void resize_xim(void) ...@@ -216,6 +216,10 @@ static void resize_xim(void)
if (xim) { if (xim) {
if (width == xim->width if (width == xim->width
&& height == xim->height) { && height == xim->height) {
if (last) {
release_buffer(last);
last = NULL;
}
x11.XFillRectangle(dpy, win, gc, 0, 0, x11_window_width, x11_window_height); x11.XFillRectangle(dpy, win, gc, 0, 0, x11_window_width, x11_window_height);
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment