Merge a fix from upstream:

Fix a recent regression where edge resistance flags where no
longer updated during the move/resize operation.
This commit is contained in:
ajacoutot 2022-11-25 09:45:58 +00:00
parent f7f78c3d3a
commit 67bf05a258
2 changed files with 25 additions and 1 deletions

View File

@ -2,7 +2,7 @@ COMMENT= window and compositing manager based on Clutter
GNOME_PROJECT= mutter
GNOME_VERSION= 43.1
REVISION= 1
REVISION= 2
SHARED_LIBS += mutter-cogl-11 0.0 # 0.0.0
SHARED_LIBS += mutter-cogl-pango-11 0.0 # 0.0.0

View File

@ -0,0 +1,24 @@
From accf532a29ea9a1d70880dfaa1834050aa3ae7be Mon Sep 17 00:00:00 2001
From: John Wudrick <prochronism@gmail.com>
Date: Fri, 4 Nov 2022 02:35:12 +0000
Subject: [PATCH] window: Update ongoing edge resistance flags with input
Index: src/core/window.c
--- src/core/window.c.orig
+++ 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;