diff options
| author | Martin Rudalics | 2020-05-13 10:31:50 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2020-05-13 10:31:50 +0200 |
| commit | a37290a6f965d0e0c13a734e6be973e1bd43bb7f (patch) | |
| tree | f1f04827c52c3e07afcf147507cb74ccd9fac145 /src | |
| parent | 3d819956923ecbbc79f5b3ac154109a7ec7150b7 (diff) | |
| download | emacs-a37290a6f965d0e0c13a734e6be973e1bd43bb7f.tar.gz emacs-a37290a6f965d0e0c13a734e6be973e1bd43bb7f.zip | |
In x_hide_tip reset tip_last_frame for GTK+ tooltips only (Bug#41200)
* src/xfns.c (x_hide_tip): Reset tip_last_frame only when
using GTK+ system tooltips (Bug#41200).
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xfns.c b/src/xfns.c index a5431aa8909..b89fac1cdac 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -6746,9 +6746,11 @@ x_hide_tip (bool delete) | |||
| 6746 | } | 6746 | } |
| 6747 | } | 6747 | } |
| 6748 | 6748 | ||
| 6749 | /* Reset tip_last_frame, it will be reassigned when showing the | 6749 | /* When using GTK+ system tooltips (compare Bug#41200) reset |
| 6750 | next GTK+ system tooltip. */ | 6750 | tip_last_frame. It will be reassigned when showing the next |
| 6751 | tip_last_frame = Qnil; | 6751 | GTK+ system tooltip. */ |
| 6752 | if (x_gtk_use_system_tooltips) | ||
| 6753 | tip_last_frame = Qnil; | ||
| 6752 | 6754 | ||
| 6753 | /* Now look whether there's an Emacs tip around. */ | 6755 | /* Now look whether there's an Emacs tip around. */ |
| 6754 | if (FRAMEP (tip_frame)) | 6756 | if (FRAMEP (tip_frame)) |