emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 4afd34edd3 2/2: Fix Motif drag-and-drop on servers without XI2


From: Po Lu
Subject: master 4afd34edd3 2/2: Fix Motif drag-and-drop on servers without XI2
Date: Sat, 2 Apr 2022 20:53:10 -0400 (EDT)

branch: master
commit 4afd34edd34ef734eda36efda08add5566a72fd9
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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.
---
 src/xterm.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/xterm.c b/src/xterm.c
index 68b96c13d8..8a7a49c883 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -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));



reply via email to

[Prev in Thread] Current Thread [Next in Thread]