diff options
| author | Po Lu | 2022-05-30 16:03:11 +0800 |
|---|---|---|
| committer | Po Lu | 2022-05-30 16:03:11 +0800 |
| commit | f81065a91be5a54b78e202df6918aff443588ae1 (patch) | |
| tree | bb5272e22ec9a47c597774d34212d3db28ecebca /src | |
| parent | 3eca30bc50472c46896fc790ade9aaf0c26ac756 (diff) | |
| download | emacs-f81065a91be5a54b78e202df6918aff443588ae1.tar.gz emacs-f81065a91be5a54b78e202df6918aff443588ae1.zip | |
Fix `dnd-indicate-insertion-point' on Mac OS
* lisp/term/ns-win.el (ns-handle-drag-motion): Remove debugging
code.
* src/nsterm.m ([EmacsView draggingUpdated:]): Redisplay here
instead.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsterm.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index b5d5ab334da..3d2b4116cab 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -8647,6 +8647,8 @@ ns_create_font_panel_buttons (id target, SEL select, SEL cancel_action) | |||
| 8647 | 8647 | ||
| 8648 | safe_call (4, Vns_drag_motion_function, frame, | 8648 | safe_call (4, Vns_drag_motion_function, frame, |
| 8649 | make_fixnum (x), make_fixnum (y)); | 8649 | make_fixnum (x), make_fixnum (y)); |
| 8650 | |||
| 8651 | redisplay (); | ||
| 8650 | #endif | 8652 | #endif |
| 8651 | 8653 | ||
| 8652 | return NSDragOperationGeneric; | 8654 | return NSDragOperationGeneric; |