[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 46c1dd4cd5: Stop ungrabbing when freeing XI devices
From: |
Po Lu |
Subject: |
master 46c1dd4cd5: Stop ungrabbing when freeing XI devices |
Date: |
Tue, 11 Jan 2022 06:09:17 -0500 (EST) |
branch: master
commit 46c1dd4cd54c5494a6e5c6e65abb2e105cf2e553
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Stop ungrabbing when freeing XI devices
This breaks when x_free_xi_devices is called from a
HierarchyChange event where a master device has been removed or
a slave device has been detached, and it should no longer be
required since we now rely on passive grabs.
* src/xterm.c (x_init_master_valuators): Stop calling
XIUngrabDevice on all devices.
---
src/xterm.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/xterm.c b/src/xterm.c
index cca57952ba..5271589270 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -378,8 +378,6 @@ x_free_xi_devices (struct x_display_info *dpyinfo)
{
for (int i = 0; i < dpyinfo->num_devices; ++i)
{
- XIUngrabDevice (dpyinfo->display, dpyinfo->devices[i].device_id,
- CurrentTime);
xfree (dpyinfo->devices[i].valuators);
tem = dpyinfo->devices[i].touchpoints;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 46c1dd4cd5: Stop ungrabbing when freeing XI devices,
Po Lu <=