aboutsummaryrefslogtreecommitdiff
path: root/rootston/xdg_shell_v6.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-02-07 22:43:41 +0100
committerGitHub <noreply@github.com>2018-02-07 22:43:41 +0100
commite13b13ff1d08f0596b1efacfc209ff90bf751914 (patch)
tree264e571ba976a979c41391653c6a4e9f00e14290 /rootston/xdg_shell_v6.c
parent9d7a9fc9d4b9dbe997120f37bb7bc62aed361e0b (diff)
parent712665b83b83871c52144ea36fe9469ad06b5107 (diff)
Merge pull request #612 from VincentVanlaer/fix-move-resize
Fix jitter when quickly resizing windows
Diffstat (limited to 'rootston/xdg_shell_v6.c')
-rw-r--r--rootston/xdg_shell_v6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c
index 0515263b..884d0d05 100644
--- a/rootston/xdg_shell_v6.c
+++ b/rootston/xdg_shell_v6.c
@@ -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;
}