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

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