mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
Merge branch 'fix-menubutton-tooltips' into 'master'
Limit tooltip queries to the same native Closes #3719 See merge request GNOME/gtk!3283
This commit is contained in:
commit
f3701ff961
@ -548,6 +548,9 @@ gtk_tooltip_run_requery (GtkWidget **widget,
|
||||
double xx = *x;
|
||||
double yy = *y;
|
||||
|
||||
if (gtk_widget_get_native (parent) != gtk_widget_get_native (*widget))
|
||||
break;
|
||||
|
||||
gtk_widget_translate_coordinates (*widget, parent, xx, yy, &xx, &yy);
|
||||
|
||||
*x = xx;
|
||||
|
Loading…
Reference in New Issue
Block a user