summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-03-24 23:09:48 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-05-28 20:25:14 +0000
commit8ee1620a2c78ee71c21ad11d305b2f565027d66c (patch)
tree13fade6f8570fc6dfcb2b7d54a7eec0125260fa6 /gdk/gdkinternals.h
parent2ccd0dc8c69e1ae5649cb915db39ba9910be4207 (diff)
downloadgtk+-8ee1620a2c78ee71c21ad11d305b2f565027d66c.tar.gz
Remove gdk_surface_get_root_coords as public api
We still need to keep the vfunc around, since the fallback implementation for move_to_rect uses it. So, a GDK backend must either have root coordinates or implement move_to_rect.
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 1f91c1dd47..8f89e08067 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -341,6 +341,11 @@ GdkGrabStatus gdk_device_grab (GdkDevice *device,
guint32 time_);
void gdk_device_ungrab (GdkDevice *device,
guint32 time_);
+void gdk_surface_get_root_coords (GdkSurface *surface,
+ gint x,
+ gint y,
+ gint *root_x,
+ gint *root_y);
G_END_DECLS