]> git.eshelyaron.com Git - emacs.git/commit
Fix more bugs with DND selection handling
authorPo Lu <luangruo@yahoo.com>
Tue, 7 Jun 2022 10:23:52 +0000 (18:23 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 7 Jun 2022 10:24:10 +0000 (18:24 +0800)
commit4918ef09153ba2c320909ac83919bda4fa26d108
treecb74709c7669f15f3436763e7678f29ef4f6585d
parentdc546d1ca03022e6785eabe8ebf6dc2d9490f292
Fix more bugs with DND selection handling

* src/xterm.c (x_defer_selection_requests)
(x_release_selection_requests): New functions.
(x_dnd_begin_drag_and_drop): Use those functions to defer
selections instead.  Fix error signalled when ownership of
XdndSelection is lost.
(handle_one_xevent): Likewise.
src/xterm.c