summaryrefslogtreecommitdiff
path: root/gtk/gtkpointerfocusprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-03-17 09:24:49 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-03-26 19:18:39 -0400
commit375543b68e709c1e8fd3e95a03657b41794fe6df (patch)
treef492cd06636f5db7ad6f2203301c6f1897975970 /gtk/gtkpointerfocusprivate.h
parenta72c6249d3334b15aa279d72fad91ccbbb4d4eec (diff)
downloadgtk+-375543b68e709c1e8fd3e95a03657b41794fe6df.tar.gz
root: Add pointer focus apis
This copies all the private GtkWindow apis for handling pointer focus.
Diffstat (limited to 'gtk/gtkpointerfocusprivate.h')
-rw-r--r--gtk/gtkpointerfocusprivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkpointerfocusprivate.h b/gtk/gtkpointerfocusprivate.h
index 02ab6e5c82..ac39a33b16 100644
--- a/gtk/gtkpointerfocusprivate.h
+++ b/gtk/gtkpointerfocusprivate.h
@@ -27,13 +27,13 @@ struct _GtkPointerFocus
gint ref_count;
GdkDevice *device;
GdkEventSequence *sequence;
- GtkWindow *toplevel;
+ GtkRoot *toplevel;
GtkWidget *target; /* Unaffected by the implicit grab */
GtkWidget *grab_widget;
gdouble x, y; /* In toplevel coordinates */
};
-GtkPointerFocus * gtk_pointer_focus_new (GtkWindow *toplevel,
+GtkPointerFocus * gtk_pointer_focus_new (GtkRoot *toplevel,
GtkWidget *widget,
GdkDevice *device,
GdkEventSequence *sequence,