summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-04-14 20:01:11 +0200
committerBert <ber.t@gmx.com>2011-04-14 20:01:11 +0200
commit0b9132818134d8f7ec3dbd8685115377d1eabeba (patch)
tree502c75e41b6090dc639aa1c17f51d93965e0f6f3 /window.c
parent8056ddbfd741934ffd53fa0d7bc1a0a4a7e150c8 (diff)
downloadnsxiv-0b9132818134d8f7ec3dbd8685115377d1eabeba.tar.zst
Fix fullscreen 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) {