Blame SOURCES/0001-events-Pass-CurrentTime-to-XIAllowEvents-when-unfree.patch

6ddca0
From 65ffd7e4df42cd62633f93107644f87208881578 Mon Sep 17 00:00:00 2001
6ddca0
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
6ddca0
Date: Thu, 14 Apr 2022 18:07:41 +0200
6ddca0
Subject: [PATCH] events: Pass CurrentTime to XIAllowEvents() when unfreezing
6ddca0
 pointer
6ddca0
6ddca0
---
6ddca0
 src/core/events.c | 2 +-
6ddca0
 1 file changed, 1 insertion(+), 1 deletion(-)
6ddca0
6ddca0
diff --git a/src/core/events.c b/src/core/events.c
6ddca0
index 0dc3a73222..dd9b4ec981 100644
6ddca0
--- a/src/core/events.c
6ddca0
+++ b/src/core/events.c
6ddca0
@@ -205,7 +205,7 @@ maybe_unfreeze_pointer_events (MetaBackend          *backend,
6ddca0
     }
6ddca0
 
6ddca0
   xdisplay = meta_backend_x11_get_xdisplay (META_BACKEND_X11 (backend));
6ddca0
-  XIAllowEvents (xdisplay, device_id, event_mode, event->button.time);
6ddca0
+  XIAllowEvents (xdisplay, device_id, event_mode, CurrentTime);
6ddca0
 }
6ddca0
 
6ddca0
 static gboolean
6ddca0
-- 
6ddca0
2.34.1
6ddca0