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

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