wayland: Seal up a non-declared public member
This commit is contained in:
@ -1364,10 +1364,10 @@ gdk_window_wayland_get_geometry (GdkWindow *window,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
_gdk_wayland_window_offset (GdkWindow *window,
|
gdk_wayland_window_offset (GdkWindow *window,
|
||||||
gint *x_out,
|
gint *x_out,
|
||||||
gint *y_out)
|
gint *y_out)
|
||||||
{
|
{
|
||||||
GdkWindowImplWayland *impl, *parent_impl;
|
GdkWindowImplWayland *impl, *parent_impl;
|
||||||
GdkWindow *parent_window;
|
GdkWindow *parent_window;
|
||||||
@ -1399,7 +1399,7 @@ gdk_window_wayland_get_root_coords (GdkWindow *window,
|
|||||||
{
|
{
|
||||||
gint x_offset, y_offset;
|
gint x_offset, y_offset;
|
||||||
|
|
||||||
_gdk_wayland_window_offset (window, &x_offset, &y_offset);
|
gdk_wayland_window_offset (window, &x_offset, &y_offset);
|
||||||
|
|
||||||
if (root_x)
|
if (root_x)
|
||||||
*root_x = x_offset + x;
|
*root_x = x_offset + x;
|
||||||
|
Reference in New Issue
Block a user