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).
This commit is contained in:
parent
3d81995692
commit
a37290a6f9
1 changed files with 5 additions and 3 deletions
|
@ -6746,9 +6746,11 @@ x_hide_tip (bool delete)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reset tip_last_frame, it will be reassigned when showing the
|
/* When using GTK+ system tooltips (compare Bug#41200) reset
|
||||||
next GTK+ system tooltip. */
|
tip_last_frame. It will be reassigned when showing the next
|
||||||
tip_last_frame = Qnil;
|
GTK+ system tooltip. */
|
||||||
|
if (x_gtk_use_system_tooltips)
|
||||||
|
tip_last_frame = Qnil;
|
||||||
|
|
||||||
/* Now look whether there's an Emacs tip around. */
|
/* Now look whether there's an Emacs tip around. */
|
||||||
if (FRAMEP (tip_frame))
|
if (FRAMEP (tip_frame))
|
||||||
|
|
Loading…
Add table
Reference in a new issue