Merge pull request #612 from VincentVanlaer/fix-move-resize

Fix jitter when quickly resizing windows
This commit is contained in:
emersion 2018-02-07 22:43:41 +01:00 committed by GitHub
commit e13b13ff1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ static void move_resize(struct roots_view *view, double x, double y,
constrained_height);
if (serial > 0) {
roots_surface->pending_move_resize_configure_serial = serial;
} else {
} else if (roots_surface->pending_move_resize_configure_serial == 0) {
view->x = x;
view->y = y;
}