summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2013-12-19 11:25:48 +0100
committerJan Djärv <jan.h.d@swipnet.se>2013-12-19 11:25:48 +0100
commit1269a680862a9bc6cd65e3d26ef05f68c7521632 (patch)
tree1160cb3afcd5b77d2240c276029289ce38feffc1 /lisp/emacs-lisp
parent680e6b8c5a28489733df544edb074fd29d0522a0 (diff)
downloademacs-1269a680862a9bc6cd65e3d26ef05f68c7521632.tar.gz
Make NS port use the normal dnd functions.
* lisp/term/ns-win.el: Require dnd. (global-map): Remove drag items. (ns-insert-text, ns-set-foreground-at-mouse) (ns-set-background-at-mouse): Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame) (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame): New functions. * src/nsterm.h (KEY_NS_DRAG_FILE, KEY_NS_DRAG_COLOR, KEY_NS_DRAG_TEXT): Remove. * src/nsterm.m (Qfile, Qurl): New. (EV_MODIFIERS2): New macro. (EV_MODIFIERS): Use EV_MODIFIERS2. (ns_term_init): Remove font and color from DND, does not work on newer OSX, and other ports don't have them. (performDragOperation:): Handle modifiers used during drag. Use DRAG_N_DROP_EVENT instead of NS specific events. Remove global Lisp variables used to communicate with ns-win.el. Remove font and color handling. (syms_of_nsterm): Defsym Qfile and Qurl. Fixes: debbugs:8051
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions