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
1 changed files with 5 additions and 1 deletions

6
main.c
View File

@ -565,7 +565,11 @@ void on_keypress(XKeyEvent *kev) {
exit(0);
case XK_f:
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;
}