]> git.eshelyaron.com Git - emacs.git/commit
Improve behaviour of drag-n-drop during window manager operations
authorPo Lu <luangruo@yahoo.com>
Sun, 20 Mar 2022 01:53:52 +0000 (09:53 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 20 Mar 2022 01:53:52 +0000 (09:53 +0800)
commit77f5eb874b70ab78ca4daf3adf30f18d002db439
treedec5e7d164ef4565af0ade2be1c9852982e7e24e
parentd2ac7447db52f492f9cbb52566de2e452c8bc65d
Improve behaviour of drag-n-drop during window manager operations

* src/xterm.c (x_dnd_begin_drag_and_drop): Select for some
events on the root window.
(x_dnd_update_state): New function.
(handle_one_xevent): Call that function when we get some events
from the root window substructure or the window manager.
(x_term_init): New atom `_NET_CLIENT_LIST_STACKING'.
* src/xterm.h (struct x_display_info): New atom
`_NET_CLIENT_LIST_STACKING'.
src/xterm.c
src/xterm.h