From 0b9132818134d8f7ec3dbd8685115377d1eabeba Mon Sep 17 00:00:00 2001 From: Bert Date: Thu, 14 Apr 2011 20:01:11 +0200 Subject: [PATCH] Fix fullscreen mode --- Makefile | 2 +- window.c | 2 +- 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) {