summaryrefslogtreecommitdiff
path: root/gdk/wayland
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-08 04:36:59 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-05-28 20:25:15 +0000
commitdb855e092d0fcbb49b9b44b2c4497cc89a596215 (patch)
tree3d71559a9be36951983c715bde0b2deaf8678280 /gdk/wayland
parentfd0a290d77d5aff6b39706375de2fdca811e04e1 (diff)
downloadgtk+-db855e092d0fcbb49b9b44b2c4497cc89a596215.tar.gz
Add a GdkSurface::parent property
Diffstat (limited to 'gdk/wayland')
-rw-r--r--gdk/wayland/gdksurface-wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c
index beea0dcdcd..b3dafbaf4f 100644
--- a/gdk/wayland/gdksurface-wayland.c
+++ b/gdk/wayland/gdksurface-wayland.c
@@ -517,6 +517,7 @@ _gdk_wayland_display_create_surface (GdkDisplay *display,
surface = g_object_new (GDK_TYPE_WAYLAND_SURFACE,
"display", display,
+ "parent", parent,
"frame-clock", frame_clock,
NULL);
@@ -534,7 +535,6 @@ _gdk_wayland_display_create_surface (GdkDisplay *display,
}
surface->surface_type = surface_type;
- surface->parent = parent;
surface->x = x;
surface->y = y;
surface->width = width;