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) {