Browse Source

Fix fullscreen mode

master
Bert 13 years ago
parent
commit
0b91328181
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Makefile
  2. +1
    -1
      window.c

+ 1
- 1
Makefile 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


+ 1
- 1
window.c 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) {


Loading…
Cancel
Save