summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylandshellsurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandshellsurface.cpp')
-rw-r--r--src/plugins/platforms/wayland/qwaylandshellsurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandshellsurface.cpp b/src/plugins/platforms/wayland/qwaylandshellsurface.cpp
index e443e7763..4700c3f89 100644
--- a/src/plugins/platforms/wayland/qwaylandshellsurface.cpp
+++ b/src/plugins/platforms/wayland/qwaylandshellsurface.cpp
@@ -101,7 +101,7 @@ void QWaylandShellSurface::updateTransientParent(QWindow *parent)
flags |= WL_SHELL_SURFACE_TRANSIENT_INACTIVE;
wl_shell_surface_set_transient(m_shell_surface,
- parent_wayland_window->shellSurface()->m_shell_surface,
+ parent_wayland_window->wl_surface(),
transientPos.x(),
transientPos.y(),
flags);