summaryrefslogtreecommitdiffstats
path: root/examples/wayland/pure-qml/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/pure-qml/qml/main.qml')
-rw-r--r--examples/wayland/pure-qml/qml/main.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/wayland/pure-qml/qml/main.qml b/examples/wayland/pure-qml/qml/main.qml
index dffb81b3e..5a0f324ec 100644
--- a/examples/wayland/pure-qml/qml/main.qml
+++ b/examples/wayland/pure-qml/qml/main.qml
@@ -59,6 +59,7 @@ WaylandCompositor {
CompositorScreen { id: screen; compositor: waylandCompositor }
+ // ![shell extensions]
// Shell surface extension. Needed to provide a window concept for Wayland clients.
// I.e. requests and events for maximization, minimization, resizing, closing etc.
XdgShell {
@@ -74,7 +75,10 @@ WaylandCompositor {
WlShell {
onWlShellSurfaceCreated: screen.handleShellSurface(shellSurface)
}
+ // ![shell extensions]
// Extension for Input Method (QT_IM_MODULE) support at compositor-side
+ // ![text input]
QtTextInputMethodManager {}
+ // ![text input]
}