emacs-diffs
[Top][All Lists]
Advanced

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

master e10d10a3e3: Add missing part of recent changes to NS DND support


From: Po Lu
Subject: master e10d10a3e3: Add missing part of recent changes to NS DND support
Date: Tue, 31 May 2022 09:14:28 -0400 (EDT)

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

    Add missing part of recent changes to NS DND support
    
    * lisp/term/ns-win.el (x-begin-drag): Implement `return-frame'
    argument.
---
 lisp/term/ns-win.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index d90146284f..65abdcf0fb 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -895,7 +895,7 @@ See the documentation of `create-fontset-from-fontset-spec' 
for the format.")
                                          &context (window-system ns))
   (ns-get-selection selection-symbol target-type))
 
-(defun x-begin-drag (targets &optional action frame _return-frame 
_allow-current-frame)
+(defun x-begin-drag (targets &optional action frame return-frame 
_allow-current-frame)
   "SKIP: real doc in xfns.c."
   (unless ns-dnd-selection-value
     (error "No local value for XdndSelection"))
@@ -910,7 +910,7 @@ See the documentation of `create-fontset-from-fontset-spec' 
for the format.")
                                           (expand-file-name
                                            ns-dnd-selection-value))))
             pasteboard))
-    (ns-begin-drag frame pasteboard action)))
+    (ns-begin-drag frame pasteboard action return-frame)))
 
 (defun ns-handle-drag-motion (frame x y)
   "Handle mouse movement on FRAME at X and Y during drag-and-drop.



reply via email to

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