diff options
Diffstat (limited to 'examples/wayland/multi-screen/qml/main.qml')
-rw-r--r-- | examples/wayland/multi-screen/qml/main.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/wayland/multi-screen/qml/main.qml b/examples/wayland/multi-screen/qml/main.qml index 354dd1c91..ecd32739d 100644 --- a/examples/wayland/multi-screen/qml/main.qml +++ b/examples/wayland/multi-screen/qml/main.qml @@ -52,7 +52,7 @@ import QtQml 2.2 import QtQuick 2.0 import QtQuick.Window 2.3 as Window -import QtWayland.Compositor 1.1 +import QtWayland.Compositor 1.3 import QtQml.Models 2.1 WaylandCompositor { @@ -104,6 +104,10 @@ WaylandCompositor { onToplevelCreated: handleShellSurfaceCreated(xdgSurface) } + XdgShell { + onToplevelCreated: handleShellSurfaceCreated(xdgSurface) + } + function createShellSurfaceItem(shellSurface, moveItem, output) { var parentSurfaceItem = output.viewsBySurface[shellSurface.parentSurface]; var parent = parentSurfaceItem || output.surfaceArea; |