Fixed rendering after fit win to img
This commit is contained in:
parent
c65f512fab
commit
c4007beb2e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue