summaryrefslogtreecommitdiffstats
path: root/examples/wayland/custom-extension/compositor/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/custom-extension/compositor/qml/main.qml')
-rw-r--r--examples/wayland/custom-extension/compositor/qml/main.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/wayland/custom-extension/compositor/qml/main.qml b/examples/wayland/custom-extension/compositor/qml/main.qml
index 54d0707ac..dcba2bb70 100644
--- a/examples/wayland/custom-extension/compositor/qml/main.qml
+++ b/examples/wayland/custom-extension/compositor/qml/main.qml
@@ -78,9 +78,8 @@ WaylandCompositor {
WlShell {
id: defaultShell
- onCreateShellSurface: {
- var item = chromeComponent.createObject(defaultOutput.surfaceArea, { "surface": surface } );
- item.shellSurface.initialize(defaultShell, surface, resource);
+ onShellSurfaceCreated: {
+ var item = chromeComponent.createObject(defaultOutput.surfaceArea, { "shellSurface": shellSurface } );
lastItem = item;
}