From 52cd19871483cddbb7bb9e33714fdc27a02c403a Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jul 08 2022 02:14:57 +0000 Subject: import mutter-3.32.2-65.el8 --- diff --git a/SOURCES/0001-events-Pass-CurrentTime-to-XIAllowEvents-when-unfree.patch b/SOURCES/0001-events-Pass-CurrentTime-to-XIAllowEvents-when-unfree.patch new file mode 100644 index 0000000..24a5bcd --- /dev/null +++ b/SOURCES/0001-events-Pass-CurrentTime-to-XIAllowEvents-when-unfree.patch @@ -0,0 +1,26 @@ +From 65ffd7e4df42cd62633f93107644f87208881578 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jonas=20=C3=85dahl?= +Date: Thu, 14 Apr 2022 18:07:41 +0200 +Subject: [PATCH] events: Pass CurrentTime to XIAllowEvents() when unfreezing + pointer + +--- + src/core/events.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/core/events.c b/src/core/events.c +index 0dc3a73222..dd9b4ec981 100644 +--- a/src/core/events.c ++++ b/src/core/events.c +@@ -205,7 +205,7 @@ maybe_unfreeze_pointer_events (MetaBackend *backend, + } + + xdisplay = meta_backend_x11_get_xdisplay (META_BACKEND_X11 (backend)); +- XIAllowEvents (xdisplay, device_id, event_mode, event->button.time); ++ XIAllowEvents (xdisplay, device_id, event_mode, CurrentTime); + } + + static gboolean +-- +2.34.1 + diff --git a/SPECS/mutter.spec b/SPECS/mutter.spec index ada44aa..9a12088 100644 --- a/SPECS/mutter.spec +++ b/SPECS/mutter.spec @@ -8,7 +8,7 @@ Name: mutter Version: 3.32.2 -Release: 64%{?dist} +Release: 65%{?dist} Summary: Window and compositing manager based on Clutter License: GPLv2+ @@ -201,6 +201,9 @@ Patch526: eglstream-overview-fixes.patch # Backport fix for stuck _NET_WM_FRAME_DRAWN handling (#2060305) Patch527: 0001-compositor-Make-sure-_NET_WM_FRAME_DRAWN-timestamp-h.patch +# Fix race condition causing stuck pointer grabs (#2090168) +Patch528: 0001-events-Pass-CurrentTime-to-XIAllowEvents-when-unfree.patch + BuildRequires: chrpath BuildRequires: pango-devel BuildRequires: startup-notification-devel @@ -342,6 +345,10 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %{_datadir}/mutter-%{mutter_api_version}/tests %changelog +* Mon Jun 27 2022 Jonas Ådahl ) - 3.32.2-65 +- Fix race condition causing stuck pointer grabs + Resolves: #2090168 + * Fri Mar 18 2022 Jonas Ådahl - 3.32.2-64 - Backport fix for stuck _NET_WM_FRAME_DRAWN handling Resolves: #2060305