mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-18 08:56:28 -05:00
Merge pull request #612 from VincentVanlaer/fix-move-resize
Fix jitter when quickly resizing windows
This commit is contained in:
commit
e13b13ff1d
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ static void move_resize(struct roots_view *view, double x, double y,
|
||||||
constrained_height);
|
constrained_height);
|
||||||
if (serial > 0) {
|
if (serial > 0) {
|
||||||
roots_surface->pending_move_resize_configure_serial = serial;
|
roots_surface->pending_move_resize_configure_serial = serial;
|
||||||
} else {
|
} else if (roots_surface->pending_move_resize_configure_serial == 0) {
|
||||||
view->x = x;
|
view->x = x;
|
||||||
view->y = y;
|
view->y = y;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue