parent
f58e7ec96c
commit
126c434635
@ -0,0 +1,26 @@
|
||||
From 65ffd7e4df42cd62633f93107644f87208881578 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
|
||||
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
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
Name: mutter
|
||||
Version: 40.9
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: Window and compositing manager based on Clutter
|
||||
|
||||
License: GPLv2+
|
||||
@ -95,6 +95,9 @@ Patch26: 0003-wayland-Only-init-EGLStream-controller-if-we-didn-t-.patch
|
||||
Patch27: 0004-renderer-native-Allow-forcing-EGLStream-backend.patch
|
||||
Patch28: 0005-cursor-renderer-native-Add-a-means-to-disable-HW-cur.patch
|
||||
|
||||
# Fix race condition causing stuck pointer grabs (#2090170)
|
||||
Patch40: 0001-events-Pass-CurrentTime-to-XIAllowEvents-when-unfree.patch
|
||||
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: pango-devel
|
||||
BuildRequires: startup-notification-devel
|
||||
@ -241,6 +244,10 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/mutter-%{mutter_api_version}/tests
|
||||
|
||||
%changelog
|
||||
* Mon Jun 27 2022 Jonas Ådahl <jadahl@redhat.com>) - 40.9-8
|
||||
- Fix race condition causing stuck pointer grabs
|
||||
Resolves: #2090170
|
||||
|
||||
* Mon Jun 20 2022 Olivier Fourdan <ofourdan@redhat.com> - 40.9-7
|
||||
- GBM support with NVIDIA driver
|
||||
Resolves: #2015891
|
||||
|
Loading…
Reference in New Issue
Block a user