Fixed issue #51, no more bar artifact when switching to fullscreen

This commit is contained in:
Bert Münnich 2012-05-14 21:45:24 +02:00
parent 60f84190f0
commit 9d74a57447

View file

@ -79,7 +79,7 @@ bool it_toggle_fullscreen(arg_t a) {
/* redraw after next ConfigureNotify event */ /* redraw after next ConfigureNotify event */
set_timeout(redraw, TO_REDRAW_RESIZE, false); set_timeout(redraw, TO_REDRAW_RESIZE, false);
if (mode == MODE_IMAGE) if (mode == MODE_IMAGE)
img.checkpan = true; img.checkpan = img.dirty = true;
else else
tns.dirty = true; tns.dirty = true;
return false; return false;