summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-03-31 21:28:09 +0800
committerPo Lu <luangruo@yahoo.com>2022-03-31 21:28:22 +0800
commit1bd14387027d5fa93ccbc38b6e4ce715c916bbc6 (patch)
treefb163c90382571255117bb9b6c829f3546b3a71f /lisp/emacs-lisp
parentaf0ea35ea00725d2700a5215b56b725dc0d88d0d (diff)
downloademacs-1bd14387027d5fa93ccbc38b6e4ce715c916bbc6.tar.gz
emacs-1bd14387027d5fa93ccbc38b6e4ce715c916bbc6.tar.bz2
emacs-1bd14387027d5fa93ccbc38b6e4ce715c916bbc6.zip
Implement missing parts of the Motif drag and drop protocol
* src/xterm.c (xm_drop_start_reply): New structure. (xm_get_drag_window): Don't grab the server since this leads to weird freezes when creating the drag window. (xm_read_drop_start_reply): New function. (x_dnd_begin_drag_and_drop): Set Motif finish flag to 0. (handle_one_xevent): When starting a motif drop, set the finish flag to 1. When the receiver replies to our drop message, set the finish flag to 2 if the drop was accepted, and only clear the waiting for finish flag when a selection request for XmTRANSFER_SUCCESS or XmTRANSFER_FAILURE arrives. (x_term_init): New atoms. * src/xterm.h (struct x_display_info): New atoms.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions