1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 23:40:39 -08:00

Fix Motif drag-and-drop on servers without XI2

* src/xterm.c (handle_one_xevent): Pass right flags to the
receiver when handling drops for core button events.
This commit is contained in:
Po Lu 2022-04-03 08:52:26 +08:00
parent 6904fcb11d
commit 4afd34edd3

View file

@ -14977,7 +14977,9 @@ handle_one_xevent (struct x_display_info *dpyinfo,
dmsg.side_effects
= XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (dpyinfo,
x_dnd_wanted_action),
XM_DROP_SITE_VALID, XM_DRAG_NOOP,
XM_DROP_SITE_VALID,
xm_side_effect_from_action (dpyinfo,
x_dnd_wanted_action),
(!x_dnd_xm_use_help
? XM_DROP_ACTION_DROP
: XM_DROP_ACTION_DROP_HELP));