summaryrefslogtreecommitdiff
path: root/gtk/gtkwindowprivate.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2017-03-31 17:31:20 +0200
committerCarlos Garnacho <carlosg@gnome.org>2017-05-25 16:25:58 +0200
commit17aa0ca76e6eeb72da909e5a63f1367596edc536 (patch)
treeefabff004dfe5f48cbe908670559fd259dbc2e64 /gtk/gtkwindowprivate.h
parentba92dceab2c94872977b19df01321162d76a4948 (diff)
downloadgtk+-17aa0ca76e6eeb72da909e5a63f1367596edc536.tar.gz
gtkwindow: Add management functions for GtkPointerFocus instances
Each toplevel will keep its own tracking of the current ongoing foci, add the plumbing that will allow to create/update/remove those as they come and go.
Diffstat (limited to 'gtk/gtkwindowprivate.h')
-rw-r--r--gtk/gtkwindowprivate.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gtk/gtkwindowprivate.h b/gtk/gtkwindowprivate.h
index 604c2973ea..b8485c72aa 100644
--- a/gtk/gtkwindowprivate.h
+++ b/gtk/gtkwindowprivate.h
@@ -22,6 +22,7 @@
#include <gdk/gdk.h>
#include "gtkwindow.h"
+#include "gtkpointerfocusprivate.h"
G_BEGIN_DECLS
@@ -139,6 +140,20 @@ void gtk_window_unexport_handle (GtkWindow *window);
GskRenderer *gtk_window_get_renderer (GtkWindow *window);
+GtkWidget * gtk_window_lookup_pointer_focus_widget (GtkWindow *window,
+ GdkDevice *device,
+ GdkEventSequence *sequence);
+GtkWidget * gtk_window_lookup_effective_pointer_focus_widget (GtkWindow *window,
+ GdkDevice *device,
+ GdkEventSequence *sequence);
+
+void gtk_window_update_pointer_focus (GtkWindow *window,
+ GdkDevice *device,
+ GdkEventSequence *sequence,
+ GtkWidget *target,
+ gdouble x,
+ gdouble y);
+
G_END_DECLS
#endif /* __GTK_WINDOW_PRIVATE_H__ */