emacs-diffs
[Top][All Lists]
Advanced

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

master 429e61b130: More fixes for XDND proxy support


From: Po Lu
Subject: master 429e61b130: More fixes for XDND proxy support
Date: Thu, 15 Sep 2022 03:31:58 -0400 (EDT)

branch: master
commit 429e61b130232e69531f7d44b2bc610d43c8217d
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    More fixes for XDND proxy support
    
    * src/xterm.c (handle_one_xevent): Check replies against
    toplevel, not proxy.
---
 src/xterm.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/xterm.c b/src/xterm.c
index 96d25b2643..4c3b812817 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -17676,7 +17676,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
 
            if (x_dnd_last_protocol_version != -1
                && x_dnd_in_progress
-               && target == x_dnd_last_seen_window
+               && target == x_dnd_last_seen_toplevel
                /* The XDND documentation is not very clearly worded.
                   But this should be the correct behavior, since
                   "kDNDStatusSendHereFlag" in the reference
@@ -20377,7 +20377,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
                    else if (x_dnd_last_seen_window != None
                        && x_dnd_last_protocol_version != -1)
                      {
-                       x_dnd_pending_finish_target = x_dnd_last_seen_window;
+                       x_dnd_pending_finish_target = x_dnd_last_seen_toplevel;
                        x_dnd_waiting_for_finish_proto = 
x_dnd_last_protocol_version;
 
                        x_dnd_waiting_for_finish
@@ -21914,7 +21914,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
                          else if (x_dnd_last_seen_window != None
                                   && x_dnd_last_protocol_version != -1)
                            {
-                             x_dnd_pending_finish_target = 
x_dnd_last_seen_window;
+                             x_dnd_pending_finish_target = 
x_dnd_last_seen_toplevel;
                              x_dnd_waiting_for_finish_proto = 
x_dnd_last_protocol_version;
 
                              x_dnd_waiting_for_finish



reply via email to

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