summaryrefslogtreecommitdiffstats
path: root/examples/wayland/minimal-qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/minimal-qml/main.qml')
-rw-r--r--examples/wayland/minimal-qml/main.qml18
1 files changed, 8 insertions, 10 deletions
diff --git a/examples/wayland/minimal-qml/main.qml b/examples/wayland/minimal-qml/main.qml
index dde223859..ce64084ce 100644
--- a/examples/wayland/minimal-qml/main.qml
+++ b/examples/wayland/minimal-qml/main.qml
@@ -71,14 +71,12 @@ WaylandCompositor {
// shells (window management protocols). When the
// client creates a new window, we instantiate a
// chromeComponent on the output.
- extensions: [
- WlShell {
- onShellSurfaceCreated:
- chromeComponent.createObject(surfaceArea, { "shellSurface": shellSurface } );
- },
- XdgShell {
- onXdgSurfaceCreated:
- chromeComponent.createObject(surfaceArea, { "shellSurface": xdgSurface } );
- }
- ]
+ WlShell {
+ onWlShellSurfaceCreated:
+ chromeComponent.createObject(surfaceArea, { "shellSurface": shellSurface } );
+ }
+ XdgShell {
+ onXdgSurfaceCreated:
+ chromeComponent.createObject(surfaceArea, { "shellSurface": xdgSurface } );
+ }
}