mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
x11: Export gdk_x11_surface_get_root_coords privately
This lets us avoid a roundtrip through the surface vfuncs.
This commit is contained in:
parent
f93d0f8fb5
commit
14122d1acb
@ -230,6 +230,12 @@ GdkDrag * _gdk_x11_surface_drag_begin (GdkSurface *window,
|
||||
gint dx,
|
||||
gint dy);
|
||||
|
||||
void gdk_x11_surface_get_root_coords (GdkSurface *surface,
|
||||
gint x,
|
||||
gint y,
|
||||
gint *root_x,
|
||||
gint *root_y);
|
||||
|
||||
GdkGrabStatus _gdk_x11_convert_grab_status (gint status);
|
||||
|
||||
cairo_surface_t * _gdk_x11_display_create_bitmap_surface (GdkDisplay *display,
|
||||
|
@ -2402,7 +2402,7 @@ gdk_x11_surface_get_geometry (GdkSurface *surface,
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
gdk_x11_surface_get_root_coords (GdkSurface *surface,
|
||||
gint x,
|
||||
gint y,
|
||||
|
Loading…
Reference in New Issue
Block a user