Parcourir la source

Fix fullscreen mode

master
Bert il y a 14 ans
Parent
révision
0b91328181
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +1
    -1
      Makefile
  2. +1
    -1
      window.c

+ 1
- 1
Makefile Voir le fichier

@@ -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 Voir le fichier

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


||||||
x
 
000:0
Chargement…
Annuler
Enregistrer