mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
tooltip: Initialize tooltip coords to given event coords
Otherwise the coordinates passed to the query-tooltip signal are always 0.
This commit is contained in:
parent
2bd9b42479
commit
4bb6e70d01
@ -923,7 +923,7 @@ gtk_tooltip_handle_event_internal (GdkEventType event_type,
|
||||
gdouble dx,
|
||||
gdouble dy)
|
||||
{
|
||||
int x = 0, y = 0;
|
||||
int x = dx, y = dy;
|
||||
GdkDisplay *display;
|
||||
GtkTooltip *current_tooltip;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user