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.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/wayland/minimal-qml/main.qml b/examples/wayland/minimal-qml/main.qml
index 693ea5c81..0f0ca61bc 100644
--- a/examples/wayland/minimal-qml/main.qml
+++ b/examples/wayland/minimal-qml/main.qml
@@ -50,7 +50,7 @@
import QtQuick 2.6
import QtQuick.Window 2.2
-import QtWayland.Compositor 1.0
+import QtWayland.Compositor 1.1
WaylandCompositor {
// The output defines the screen.
@@ -84,7 +84,7 @@ WaylandCompositor {
}
XdgShellV6 {
onToplevelCreated:
- shellSurfaces.append({shellSurface: toplevel});
+ shellSurfaces.append({shellSurface: xdgSurface});
}
ListModel { id: shellSurfaces }
}