diff options
Diffstat (limited to 'examples/wayland/pure-qml/qml/main.qml')
-rw-r--r-- | examples/wayland/pure-qml/qml/main.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/wayland/pure-qml/qml/main.qml b/examples/wayland/pure-qml/qml/main.qml index 80faa80dd..87feedf14 100644 --- a/examples/wayland/pure-qml/qml/main.qml +++ b/examples/wayland/pure-qml/qml/main.qml @@ -16,17 +16,17 @@ WaylandCompositor { // Shell surface extension. Needed to provide a window concept for Wayland clients. // I.e. requests and events for maximization, minimization, resizing, closing etc. XdgShell { - onToplevelCreated: screen.handleShellSurface(xdgSurface) + onToplevelCreated: (toplevel, xdgSurface) => screen.handleShellSurface(xdgSurface) } // Minimalistic shell extension. Mainly used for embedded applications. IviApplication { - onIviSurfaceCreated: screen.handleShellSurface(iviSurface) + onIviSurfaceCreated: (iviSurface) => screen.handleShellSurface(iviSurface) } // Deprecated shell extension, still used by some clients WlShell { - onWlShellSurfaceCreated: screen.handleShellSurface(shellSurface) + onWlShellSurfaceCreated: (shellSurface) => screen.handleShellSurface(shellSurface) } // ![shell extensions] |