diff options
| author | Po Lu | 2022-03-25 13:41:30 +0000 |
|---|---|---|
| committer | Po Lu | 2022-03-25 13:41:30 +0000 |
| commit | 4dfd42014b50aadd82b425747fe65fa97df28caa (patch) | |
| tree | 083cd4a906024025b336b2c2c53323a7e764de67 /lisp/term | |
| parent | 8ba0f190642d20e8f9caa7472c12674c7ba65a69 (diff) | |
| download | emacs-4dfd42014b50aadd82b425747fe65fa97df28caa.tar.gz emacs-4dfd42014b50aadd82b425747fe65fa97df28caa.zip | |
Implement new drag and drop parameter on Haiku
* lisp/term/haiku-win.el (x-begin-drag): Implement
`allow-current-frame'.
* src/haiku_support.cc (be_drag_message): New argument
`allow_same_view'.
* src/haiku_support.h: Update prototypes.
* src/haikuselect.c (Fhaiku_drag_message): New parameter
`allow-same-frame'.
Diffstat (limited to 'lisp/term')
| -rw-r--r-- | lisp/term/haiku-win.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/term/haiku-win.el b/lisp/term/haiku-win.el index d04da2fdae4..2f106825c33 100644 --- a/lisp/term/haiku-win.el +++ b/lisp/term/haiku-win.el | |||
| @@ -199,7 +199,7 @@ This is necessary because on Haiku `use-system-tooltip' doesn't | |||
| 199 | take effect on menu items until the menu bar is updated again." | 199 | take effect on menu items until the menu bar is updated again." |
| 200 | (force-mode-line-update t)) | 200 | (force-mode-line-update t)) |
| 201 | 201 | ||
| 202 | (defun x-begin-drag (targets &optional action frame _return-frame _allow-current-frame) | 202 | (defun x-begin-drag (targets &optional action frame _return-frame allow-current-frame) |
| 203 | "SKIP: real doc in xfns.c." | 203 | "SKIP: real doc in xfns.c." |
| 204 | (unless haiku-dnd-selection-value | 204 | (unless haiku-dnd-selection-value |
| 205 | (error "No local value for XdndSelection")) | 205 | (error "No local value for XdndSelection")) |
| @@ -228,7 +228,7 @@ take effect on menu items until the menu bar is updated again." | |||
| 228 | action) | 228 | action) |
| 229 | 'XdndActionCopy) | 229 | 'XdndActionCopy) |
| 230 | (haiku-drag-message (or frame (selected-frame)) | 230 | (haiku-drag-message (or frame (selected-frame)) |
| 231 | message)))) | 231 | message allow-current-frame)))) |
| 232 | 232 | ||
| 233 | (add-variable-watcher 'use-system-tooltips #'haiku-use-system-tooltips-watcher) | 233 | (add-variable-watcher 'use-system-tooltips #'haiku-use-system-tooltips-watcher) |
| 234 | 234 | ||