]> git.eshelyaron.com Git - emacs.git/commit
Fix GC protection of scroll bar windows
authorPo Lu <luangruo@yahoo.com>
Mon, 19 Sep 2022 01:35:58 +0000 (09:35 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 19 Sep 2022 01:36:44 +0000 (09:36 +0800)
commita5405e56449e90203db909ea4ed1b19500e5044b
treeee8ea366a2c45bd50edbc146a6698ab53fb68865
parent7c8a131984ab47349381975dead1712ae25ae2c6
Fix GC protection of scroll bar windows

* src/xterm.c (x_atom_refs): Add _EMACS prefix to
vendor-specific scroll-bar atoms.
(handle_one_xevent): Unprotect windows immediately upon
receiving an _EMACS_SCROLLBAR event, instead of waiting for the
event to be put on the keyboard buffer.  Reported by martin
rudalics <rudalics@gmx.at>.
src/xterm.c