diff options
| author | Po Lu | 2022-04-03 08:52:26 +0800 |
|---|---|---|
| committer | Po Lu | 2022-04-03 08:52:26 +0800 |
| commit | 4afd34edd34ef734eda36efda08add5566a72fd9 (patch) | |
| tree | 202667be0bbf2b74129d7f54e6110f455bc331e7 | |
| parent | 6904fcb11d76c2ccd8663a81a07bce212e042e95 (diff) | |
| download | emacs-4afd34edd34ef734eda36efda08add5566a72fd9.tar.gz emacs-4afd34edd34ef734eda36efda08add5566a72fd9.zip | |
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.
| -rw-r--r-- | src/xterm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 68b96c13d87..8a7a49c8837 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -14977,7 +14977,9 @@ handle_one_xevent (struct x_display_info *dpyinfo, | |||
| 14977 | dmsg.side_effects | 14977 | dmsg.side_effects |
| 14978 | = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (dpyinfo, | 14978 | = XM_DRAG_SIDE_EFFECT (xm_side_effect_from_action (dpyinfo, |
| 14979 | x_dnd_wanted_action), | 14979 | x_dnd_wanted_action), |
| 14980 | XM_DROP_SITE_VALID, XM_DRAG_NOOP, | 14980 | XM_DROP_SITE_VALID, |
| 14981 | xm_side_effect_from_action (dpyinfo, | ||
| 14982 | x_dnd_wanted_action), | ||
| 14981 | (!x_dnd_xm_use_help | 14983 | (!x_dnd_xm_use_help |
| 14982 | ? XM_DROP_ACTION_DROP | 14984 | ? XM_DROP_ACTION_DROP |
| 14983 | : XM_DROP_ACTION_DROP_HELP)); | 14985 | : XM_DROP_ACTION_DROP_HELP)); |