Fixed background color for non-EWMH-compliant WMs

This commit is contained in:
Bert 2011-04-19 14:25:43 +02:00
parent ba293b09df
commit d54e64faae

6
main.c
View file

@ -565,7 +565,11 @@ void on_keypress(XKeyEvent *kev) {
exit(0); exit(0);
case XK_f: case XK_f:
win_toggle_fullscreen(&win); win_toggle_fullscreen(&win);
/* render on next configurenotify */ if (mode == MODE_NORMAL)
img.checkpan = 1;
else
tns.dirty = 1;
timo_redraw = TO_WIN_RESIZE;
break; break;
} }