]> git.eshelyaron.com Git - emacs.git/commit
Make Motif drag work on window managers that don't support client lists
authorPo Lu <luangruo@yahoo.com>
Sat, 2 Apr 2022 01:53:03 +0000 (09:53 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 2 Apr 2022 01:53:30 +0000 (09:53 +0800)
commit59fb6783e6ee2d99cd8f58ac10130313f4b51927
treea6bf97bda70f2ed94ea65e89506077a3238cd152
parentd62b43f760a5fd998bcb93d16e4f7c85a9ea02bc
Make Motif drag work on window managers that don't support client lists

* xterm.c (x_dnd_send_xm_leave_for_drop): New function.
(x_dnd_get_wm_state_and_proto): New field `motif_out'.
(x_dnd_get_target_window): Return Motif protocol style if
looking for windows via XTranslateCoordinates.
(x_dnd_cleanup_drag_and_drop, x_dnd_begin_drag_and_drop)
(x_dnd_update_state, handle_one_xevent): Send toplevel leave
along with drops.
src/xterm.c