diff options
author | Timm Bäder <mail@baedert.org> | 2019-04-26 07:34:18 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-04-26 18:05:32 +0200 |
commit | 4bb6e70d014db28bed77624a21911079f4a440a8 (patch) | |
tree | 708993700a1a83aa1e3854f15494ccc6dfc76e66 /gtk/gtktooltip.c | |
parent | 2bd9b42479bfddf2a47fa55e6b56f76171c3fad7 (diff) | |
download | gtk+-4bb6e70d014db28bed77624a21911079f4a440a8.tar.gz |
tooltip: Initialize tooltip coords to given event coords
Otherwise the coordinates passed to the query-tooltip signal are always
0.
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r-- | gtk/gtktooltip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index 794d65c30d..22a7e68b1f 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -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; |