]> git.eshelyaron.com Git - emacs.git/commit
Remove selection requests on the keyboard buffer when closing display
authorPo Lu <luangruo@yahoo.com>
Tue, 21 Jun 2022 01:52:47 +0000 (09:52 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 21 Jun 2022 01:53:14 +0000 (09:53 +0800)
commit01834ba0c9c1ed5d6b25a1463b79b00e2fc7266b
tree2bc2f5d339d32259eecc449b13101ff982273188
parent32a6d52d43b4c3452687a11b01dfb51ba111fee2
Remove selection requests on the keyboard buffer when closing display

* src/xterm.c (X_NEXT_KBD_EVENT): New macro.
(x_defer_selection_requests): Set input_pending if the kbd
buffer was modified.
(x_delete_selection_requests): New function.
(x_delete_display): Call that.  Bug found when a display died
while the clipboard manager was sending an unreasonably high
number of requests.
src/xterm.c