]> git.eshelyaron.com Git - emacs.git/commit
Stop ungrabbing when freeing XI devices
authorPo Lu <luangruo@yahoo.com>
Tue, 11 Jan 2022 11:06:41 +0000 (19:06 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 11 Jan 2022 11:06:41 +0000 (19:06 +0800)
commit46c1dd4cd54c5494a6e5c6e65abb2e105cf2e553
tree82e7ccda8698b13e1969d133784a755209ab9871
parente35194866706e5632db3070f4e32950ecc0a58f4
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