aboutsummaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@gmx.com>2011-11-11 23:57:36 +0100
committerBert Münnich <ber.t@gmx.com>2011-11-11 23:57:36 +0100
commitc4007beb2eca82d19f4ef7a533c74a9fcfc435df (patch)
tree3b1789a33d7d723438808b99cb40b7273004f84d /commands.c
parentc65f512fabf20d9887e4aa580ec49cfbd10f6479 (diff)
Fixed rendering after fit win to img
Diffstat (limited to 'commands.c')
-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;