summaryrefslogtreecommitdiffstats
path: root/examples/wayland/server-side-decoration/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/server-side-decoration/main.qml')
-rw-r--r--examples/wayland/server-side-decoration/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/server-side-decoration/main.qml b/examples/wayland/server-side-decoration/main.qml
index 881ee9bf3..421cefa95 100644
--- a/examples/wayland/server-side-decoration/main.qml
+++ b/examples/wayland/server-side-decoration/main.qml
@@ -63,7 +63,7 @@ WaylandCompositor {
// ![XdgShell]
XdgShell {
- onToplevelCreated: shellSurfaces.append({shellSurface: xdgSurface});
+ onToplevelCreated: (toplevel, xdgSurface) => shellSurfaces.append({shellSurface: xdgSurface});
}
XdgDecorationManagerV1 {
preferredMode: XdgToplevel.ServerSideDecoration