Fix fullscreen mode
This commit is contained in:
parent
8056ddbfd7
commit
0b91328181
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
||||||
all: sxiv
|
all: sxiv
|
||||||
|
|
||||||
VERSION=0.8
|
VERSION=git-20110414
|
||||||
|
|
||||||
CC?=gcc
|
CC?=gcc
|
||||||
PREFIX?=/usr/local
|
PREFIX?=/usr/local
|
||||||
|
|
2
window.c
2
window.c
|
@ -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…
Reference in New Issue