mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
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>
This commit is contained in:
parent
ac093dc651
commit
d889aad7cf
@ -6021,6 +6021,7 @@ queue_update_move (MetaWindow *window,
|
|||||||
MetaCompositor *compositor;
|
MetaCompositor *compositor;
|
||||||
MetaLaters *laters;
|
MetaLaters *laters;
|
||||||
|
|
||||||
|
window->display->grab_last_edge_resistance_flags = flags;
|
||||||
window->display->grab_latest_motion_x = x;
|
window->display->grab_latest_motion_x = x;
|
||||||
window->display->grab_latest_motion_y = y;
|
window->display->grab_latest_motion_y = y;
|
||||||
|
|
||||||
@ -6166,6 +6167,7 @@ queue_update_resize (MetaWindow *window,
|
|||||||
MetaCompositor *compositor;
|
MetaCompositor *compositor;
|
||||||
MetaLaters *laters;
|
MetaLaters *laters;
|
||||||
|
|
||||||
|
window->display->grab_last_edge_resistance_flags = flags;
|
||||||
window->display->grab_latest_motion_x = x;
|
window->display->grab_latest_motion_x = x;
|
||||||
window->display->grab_latest_motion_y = y;
|
window->display->grab_latest_motion_y = y;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user