nsxiv9d74a57
Fixed issue #51, no more bar artifact when switching to fullscreen
+1 −1
1 file changed
- M commands.c +1 −1
| @@ -79,7 +79,7 @@ bool it_toggle_fullscreen(arg_t a) { | |||
| 79 | 79 | /* redraw after next ConfigureNotify event */ | |
| 80 | 80 | set_timeout(redraw, TO_REDRAW_RESIZE, false); | |
| 81 | 81 | if (mode == MODE_IMAGE) | |
| 82 | − | img.checkpan = true; | |
| 82 | + | img.checkpan = img.dirty = true; | |
| 83 | 83 | else | |
| 84 | 84 | tns.dirty = true; | |
| 85 | 85 | return false; | |