Fix fullscreen mode

This commit is contained in:
Bert 2011-04-14 20:01:11 +02:00
parent 8056ddbfd7
commit 0b91328181
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
all: sxiv all: sxiv
VERSION=0.8 VERSION=git-20110414
CC?=gcc CC?=gcc
PREFIX?=/usr/local PREFIX?=/usr/local

View file

@ -247,7 +247,7 @@ void win_toggle_fullscreen(win_t *win) {
cm->data.l[3] = 0; cm->data.l[3] = 0;
XSendEvent(win->env.dpy, DefaultRootWindow(win->env.dpy), False, XSendEvent(win->env.dpy, DefaultRootWindow(win->env.dpy), False,
SubstructureNotifyMask, &ev); SubstructureNotifyMask | SubstructureRedirectMask, &ev);
} }
void win_clear(win_t *win) { void win_clear(win_t *win) {