summaryrefslogtreecommitdiff
path: root/src/core/window.c
diff options
context:
space:
mode:
authorJohn Wudrick <prochronism@gmail.com>2022-11-04 02:35:12 +0000
committerMarge Bot <marge-bot@gnome.org>2022-11-08 05:01:49 +0000
commitd889aad7cf76f786208c446ce195d4e26f9c0a8d (patch)
treebad1b35faea5e3c89904a378d4c3bfa477b06692 /src/core/window.c
parentac093dc65142803601838d32dd85ed993892c7f3 (diff)
downloadmutter-d889aad7cf76f786208c446ce195d4e26f9c0a8d.tar.gz
window: Update ongoing edge resistance flags with input
Fix a recent regression where edge resistance flags where no longer updated during the move/resize operation. Fixes: bd6b14a843 (window: Throttle window move grab updates) Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2492 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2687>
Diffstat (limited to 'src/core/window.c')
-rw-r--r--src/core/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c
index d37601716..3b35ee021 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -6021,6 +6021,7 @@ queue_update_move (MetaWindow *window,
MetaCompositor *compositor;
MetaLaters *laters;
+ window->display->grab_last_edge_resistance_flags = flags;
window->display->grab_latest_motion_x = x;
window->display->grab_latest_motion_y = y;
@@ -6166,6 +6167,7 @@ queue_update_resize (MetaWindow *window,
MetaCompositor *compositor;
MetaLaters *laters;
+ window->display->grab_last_edge_resistance_flags = flags;
window->display->grab_latest_motion_x = x;
window->display->grab_latest_motion_y = y;