aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-04-19 14:25:43 +0200
committerBert <ber.t@gmx.com>2011-04-19 14:25:43 +0200
commitd54e64faaee6ba788bc5a57232d615fef816ed97 (patch)
tree2a253d917d97f0ed36f1dfb075287a8c512cd596 /main.c
parentba293b09dfd6bea651bc40e711813302b87e6437 (diff)
downloadnsxiv-d54e64faaee6ba788bc5a57232d615fef816ed97.tar.zst
Fixed background color for non-EWMH-compliant WMs
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.c b/main.c
index da05211..2fe743a 100644
--- a/main.c
+++ b/main.c
@@ -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;
}