aboutsummaryrefslogtreecommitdiff
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
parent8056ddbfd741934ffd53fa0d7bc1a0a4a7e150c8 (diff)
Fix fullscreen mode
-rw-r--r--Makefile2
-rw-r--r--window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c51569e..24a60ff 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
all: sxiv
-VERSION=0.8
+VERSION=git-20110414
CC?=gcc
PREFIX?=/usr/local
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) {