aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands.c b/commands.c
index a8b9e77..5c80098 100644
--- a/commands.c
+++ b/commands.c
@@ -314,6 +314,7 @@ bool i_fit_to_img(arg_t a) {
if ((ret = win_moveresize(&win, x, y, w, h))) {
img.x = x - win.x;
img.y = y - win.y;
+ img.dirty = true;
}
}
return ret;