]> git.eshelyaron.com Git - emacs.git/commit
Don't call XSelectInput on a dying display when cancelling drag-and-drop
authorPo Lu <luangruo@yahoo.com>
Fri, 3 Jun 2022 00:51:49 +0000 (08:51 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 3 Jun 2022 00:51:49 +0000 (08:51 +0800)
commit36af7004e2bf0db1d9c2fd1312215a931c1db3df
tree534f411956bbfa851cc3ef6c28a64f8b5351cc97
parent8f279c8666dc642ed1f8f49aa709530fcea47374
Don't call XSelectInput on a dying display when cancelling drag-and-drop

* src/xterm.c (x_dnd_free_toplevels): New argument
`display_alive'.
(x_dnd_cleanup_drag_and_drop, x_dnd_begin_drag_and_drop)
(handle_one_xevent): Change calls to `x_dnd_free_toplevels'.
(x_connection_closed, x_delete_terminal): Set it to false.
src/xterm.c