summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.c b/window.c
index 1e98a81..623da45 100644
--- a/window.c
+++ b/window.c
@@ -247,7 +247,7 @@ void win_toggle_fullscreen(win_t *win) {
cm->data.l[3] = 0;
XSendEvent(win->env.dpy, DefaultRootWindow(win->env.dpy), False,
- SubstructureNotifyMask, &ev);
+ SubstructureNotifyMask | SubstructureRedirectMask, &ev);
}
void win_clear(win_t *win) {