diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-23 01:01:29 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-23 01:01:29 -0400 |
commit | c1f8d8702b77d949011fd95ffe550ca774e94a1e (patch) | |
tree | cdd4334415b5f89bebf3cca04db887f619c1f342 | |
parent | 282d13daa3ef3691d3646e9e33cd8de08975439c (diff) | |
download | runes-c1f8d8702b77d949011fd95ffe550ca774e94a1e.tar.gz runes-c1f8d8702b77d949011fd95ffe550ca774e94a1e.zip |
just for consistency
-rw-r--r-- | src/window-xlib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c index 02d533d..c9a82bd 100644 --- a/src/window-xlib.c +++ b/src/window-xlib.c @@ -268,6 +268,9 @@ void runes_window_backend_request_close(RunesTerm *t) e.xclient.data.l[1] = CurrentTime; XSendEvent(t->w.dpy, t->w.w, False, NoEventMask, &e); + XLockDisplay(t->w.dpy); + XFlush(t->w.dpy); + XUnlockDisplay(t->w.dpy); } void runes_window_backend_get_size(RunesTerm *t, int *xpixel, int *ypixel) |