diff options
| author | Po Lu | 2022-06-09 15:44:51 +0800 |
|---|---|---|
| committer | Po Lu | 2022-06-09 15:44:51 +0800 |
| commit | 0ba43e15d9c9ffb3df8aeb3a7e446d9a4d62ccff (patch) | |
| tree | e76d1ff851edd33ac4111d72e9522b58be86940d /src | |
| parent | 0936d6fa20894159d75eb1933325d653e4820d90 (diff) | |
| download | emacs-0ba43e15d9c9ffb3df8aeb3a7e446d9a4d62ccff.tar.gz emacs-0ba43e15d9c9ffb3df8aeb3a7e446d9a4d62ccff.zip | |
Note caveats of `follow-tooltip' with system tooltips
* lisp/mouse.el (mouse-drag-and-drop-region): Turn off system
tooltips inside.
* src/xfns.c (Fx_begin_drag): Say that follow-tooltip doesn't
work with system tooltips.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 15e96183e3b..43d4d27372e 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -6884,7 +6884,8 @@ mouse buttons are released on top of FRAME. | |||
| 6884 | 6884 | ||
| 6885 | If FOLLOW-TOOLTIP is non-nil, any tooltip currently being displayed | 6885 | If FOLLOW-TOOLTIP is non-nil, any tooltip currently being displayed |
| 6886 | will be moved to follow the mouse pointer while the drag is in | 6886 | will be moved to follow the mouse pointer while the drag is in |
| 6887 | progress. | 6887 | progress. Note that this does not work with system tooltips (tooltips |
| 6888 | created when `use-system-tooltips' is non-nil). | ||
| 6888 | 6889 | ||
| 6889 | This function will sometimes return immediately if no mouse buttons | 6890 | This function will sometimes return immediately if no mouse buttons |
| 6890 | are currently held down. It should only be called when it is known | 6891 | are currently held down. It should only be called when it is known |