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.
This commit is contained in:
parent
e351948667
commit
46c1dd4cd5
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue