diff options
author | Michael Natterer <mitch@gimp.org> | 2010-05-26 17:09:11 +0200 |
---|---|---|
committer | Michael Natterer <mitch@gimp.org> | 2010-05-26 17:21:09 +0200 |
commit | 6b4e19a132b5f88cb07c967d144cafc372d4fb65 (patch) | |
tree | d11b715e86695f6c516d79f8e83754a77ddf9a77 /gtk/gtktooltip.h | |
parent | 6bac9dfd28524775deb7d6f5485efb4604221103 (diff) | |
download | gtk+-6b4e19a132b5f88cb07c967d144cafc372d4fb65.tar.gz |
Bug 607628 - DnD operation doesn't work when using offscreen
Turn find_widget_under_pointer() into internal API
_gtk_widget_find_at_coords() which is needed for fixing above
bug. This should actually be a public utility function, and will be
moved to another file when its final API has been decided.
(cherry picked from commit c4b1bbf3e201099e5fed38d7a60b343662b88b21)
Diffstat (limited to 'gtk/gtktooltip.h')
-rw-r--r-- | gtk/gtktooltip.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtktooltip.h b/gtk/gtktooltip.h index ac310c908d..7fa4a2203d 100644 --- a/gtk/gtktooltip.h +++ b/gtk/gtktooltip.h @@ -66,6 +66,12 @@ void _gtk_tooltip_toggle_keyboard_mode (GtkWidget *widget); void _gtk_tooltip_handle_event (GdkEvent *event); void _gtk_tooltip_hide (GtkWidget *widget); +GtkWidget * _gtk_widget_find_at_coords (GdkWindow *window, + gint window_x, + gint window_y, + gint *widget_x, + gint *widget_y); + G_END_DECLS #endif /* __GTK_TOOLTIP_H__ */ |