Fixed rendering after fit win to img

This commit is contained in:
Bert Münnich 2011-11-11 23:57:36 +01:00
parent c65f512fab
commit c4007beb2e

View file

@ -314,6 +314,7 @@ bool i_fit_to_img(arg_t a) {
if ((ret = win_moveresize(&win, x, y, w, h))) { if ((ret = win_moveresize(&win, x, y, w, h))) {
img.x = x - win.x; img.x = x - win.x;
img.y = y - win.y; img.y = y - win.y;
img.dirty = true;
} }
} }
return ret; return ret;