aboutsummaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorBert Münnich <be.muennich@googlemail.com>2012-05-14 21:45:24 +0200
committerBert Münnich <be.muennich@googlemail.com>2012-05-14 21:45:24 +0200
commit9d74a57447207097f94e62f002c5c306d8cc65cf (patch)
tree4b140abd272c2b86d2a935b4e405d89600061c55 /commands.c
parent60f84190f0baae527c04db70c50a7b020fd8e165 (diff)
downloadnsxiv-9d74a57447207097f94e62f002c5c306d8cc65cf.tar.zst
Fixed issue #51, no more bar artifact when switching to fullscreen
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index a27673a..4d35c60 100644
--- a/commands.c
+++ b/commands.c
@@ -79,7 +79,7 @@ bool it_toggle_fullscreen(arg_t a) {
/* redraw after next ConfigureNotify event */
set_timeout(redraw, TO_REDRAW_RESIZE, false);
if (mode == MODE_IMAGE)
- img.checkpan = true;
+ img.checkpan = img.dirty = true;
else
tns.dirty = true;
return false;