]> git.eshelyaron.com Git - emacs.git/commit
Fix hangs when x-get-selection is called inside a popup menu
authorPo Lu <luangruo@yahoo.com>
Mon, 30 May 2022 06:04:43 +0000 (14:04 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 30 May 2022 06:05:30 +0000 (14:05 +0800)
commitfd510f12392fcb2bf34eb08262ddda20d8a3c221
treebd293cd92a1338e9aab3b80d23e26127485f8cce
parent52d41f2750c0f66d7f7ba8e198832734fe750fa5
Fix hangs when x-get-selection is called inside a popup menu

* src/xselect.c (wait_for_property_change):
(x_get_foreign_selection): Use `x_wait_for_cell_change' if input
is blocked.  (bug#22214)
* src/xterm.c (x_wait_for_cell_change): New function.
* src/xterm.h: Update prototypes.
src/xselect.c
src/xterm.c
src/xterm.h