summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/wayland/hwlayer-compositor/main.qml1
-rw-r--r--examples/wayland/minimal-qml/main.qml5
-rw-r--r--examples/wayland/pure-qml/qml/main.qml5
3 files changed, 11 insertions, 0 deletions
diff --git a/examples/wayland/hwlayer-compositor/main.qml b/examples/wayland/hwlayer-compositor/main.qml
index 584c0c353..aaea5b79e 100644
--- a/examples/wayland/hwlayer-compositor/main.qml
+++ b/examples/wayland/hwlayer-compositor/main.qml
@@ -158,5 +158,6 @@ WaylandCompositor {
shellSurfaces.append({shSurface: shellSurface, animatePosition: false, animateOpacity: false, level: 0});
}
XdgShell { onToplevelCreated: addShellSurface(xdgSurface) }
+ IviApplication { onIviSurfaceCreated: addShellSurface(iviSurface) }
WlShell { onWlShellSurfaceCreated: addShellSurface(shellSurface) }
}
diff --git a/examples/wayland/minimal-qml/main.qml b/examples/wayland/minimal-qml/main.qml
index a4e6d89fc..a7709e096 100644
--- a/examples/wayland/minimal-qml/main.qml
+++ b/examples/wayland/minimal-qml/main.qml
@@ -88,5 +88,10 @@ WaylandCompositor {
onToplevelCreated:
shellSurfaces.append({shellSurface: xdgSurface});
}
+ IviApplication {
+ onIviSurfaceCreated: {
+ shellSurfaces.append({shellSurface: iviSurface});
+ }
+ }
ListModel { id: shellSurfaces }
}
diff --git a/examples/wayland/pure-qml/qml/main.qml b/examples/wayland/pure-qml/qml/main.qml
index 5a21735b2..eb4ae9ac1 100644
--- a/examples/wayland/pure-qml/qml/main.qml
+++ b/examples/wayland/pure-qml/qml/main.qml
@@ -64,6 +64,11 @@ WaylandCompositor {
onToplevelCreated: screen.handleShellSurface(xdgSurface)
}
+ // Minimalistic shell extension. Mainly used for embedded applications.
+ IviApplication {
+ onIviSurfaceCreated: screen.handleShellSurface(iviSurface)
+ }
+
// Deprecated shell extension, still used by some clients
WlShell {
onWlShellSurfaceCreated: screen.handleShellSurface(shellSurface)