aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-05-13 14:06:21 -0400
committerJesse Luehrs <doy@tozt.net>2016-05-13 14:06:21 -0400
commitd7915fabc33f45e6365c13c41f6641f0dfeb0f33 (patch)
treef4148136e487b22a4f1c2cc74085679e4030980a
parent695845a5fce84467804eea1bbf6ecf492f77645b (diff)
downloadrunes-d7915fabc33f45e6365c13c41f6641f0dfeb0f33.tar.gz
runes-d7915fabc33f45e6365c13c41f6641f0dfeb0f33.zip
ensure that window close events are processed immediately
-rw-r--r--src/window-xlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c
index 28b2de2..6989890 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -345,6 +345,7 @@ void runes_window_delete(RunesWindow *w)
XCloseIM(im);
XDestroyWindow(w->wb->dpy, w->w);
XDestroyWindow(w->wb->dpy, w->border_w);
+ XFlush(w->wb->dpy);
free(w);
}