diff options
Diffstat (limited to 'examples/wayland')
-rw-r--r-- | examples/wayland/spanning-screens/main.qml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/wayland/spanning-screens/main.qml b/examples/wayland/spanning-screens/main.qml index a13ab465..7fcb4ef9 100644 --- a/examples/wayland/spanning-screens/main.qml +++ b/examples/wayland/spanning-screens/main.qml @@ -100,8 +100,12 @@ WaylandCompositor { Component { id: chromeComponent - ShellSurfaceItem { - onSurfaceDestroyed: destroy() + Item { + property alias shellSurface: ssi.shellSurface + ShellSurfaceItem { + id: ssi + onSurfaceDestroyed: destroy() + } } } |