diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/wayland/minimal-qml/main.qml | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/examples/wayland/minimal-qml/main.qml b/examples/wayland/minimal-qml/main.qml index 7894a0321..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 { - onWlShellSurfaceCreated: - 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 } ); + } } |