aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPo Lu2022-04-01 03:59:38 +0000
committerPo Lu2022-04-01 03:59:38 +0000
commitf8be5eb97fe938483d64691e1ccc3a276f7da3db (patch)
tree3a02e560f0da77e66fed8dbae47965b7e71865d5 /lisp
parent52c31f9e13c349609091620ecf56ac42747c1652 (diff)
downloademacs-f8be5eb97fe938483d64691e1ccc3a276f7da3db.tar.gz
emacs-f8be5eb97fe938483d64691e1ccc3a276f7da3db.zip
Simplify Haiku drag-and-drop implementation
* lisp/term/haiku-win.el (x-begin-drag): Bind `mouse-highlight' to nil. * src/haikuselect.c (haiku_unwind_drag_message) (Fhaiku_drag_message): * src/haikuterm.h (HAVE_CHAR_CACHE_MAX): * src/xdisp.c (note_mouse_highlight): Delete `haiku_dnd_in_progress' variable.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/term/haiku-win.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/term/haiku-win.el b/lisp/term/haiku-win.el
index 738cf56caaa..810feced212 100644
--- a/lisp/term/haiku-win.el
+++ b/lisp/term/haiku-win.el
@@ -279,6 +279,7 @@ take effect on menu items until the menu bar is updated again."
279 (unless haiku-dnd-selection-value 279 (unless haiku-dnd-selection-value
280 (error "No local value for XdndSelection")) 280 (error "No local value for XdndSelection"))
281 (let ((message nil) 281 (let ((message nil)
282 (mouse-highlight nil)
282 (haiku-signal-invalid-refs nil)) 283 (haiku-signal-invalid-refs nil))
283 (dolist (target targets) 284 (dolist (target targets)
284 (let ((selection-converter (cdr (assoc (intern target) 285 (let ((selection-converter (cdr (assoc (intern target)