]> git.eshelyaron.com Git - emacs.git/commit
Fix deadlocks with very old versions of libXi
authorPo Lu <luangruo@yahoo.com>
Sun, 3 Jul 2022 06:33:02 +0000 (14:33 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 3 Jul 2022 06:33:16 +0000 (14:33 +0800)
commitfcdaaf241ea1511d3ff3879b8ed1ae0a62887861
tree9e925588983287f5c2aeaba8a99140f4b21a2ec8
parent04e4a902d3c6f0c73e9f7604c779cd8405c29bf0
Fix deadlocks with very old versions of libXi

* src/xfns.c (setup_xi_event_mask, Fx_create_frame): Set
`xi_mask' ourselves if the version of libXi is too old to have
working XIGetSelectedEvents.
* src/xterm.c (x_destroy_window): Free `xi_mask' with xfree in
that case.
src/xfns.c
src/xterm.c