diff options
Diffstat (limited to 'examples/wayland')
-rw-r--r-- | examples/wayland/multi-screen/qml/Chrome.qml | 1 | ||||
-rw-r--r-- | examples/wayland/multi-screen/qml/main.qml | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/wayland/multi-screen/qml/Chrome.qml b/examples/wayland/multi-screen/qml/Chrome.qml index 99141ad25..52f449468 100644 --- a/examples/wayland/multi-screen/qml/Chrome.qml +++ b/examples/wayland/multi-screen/qml/Chrome.qml @@ -63,6 +63,7 @@ Item { ShellSurfaceItem { id: surfaceItem + autoCreatePopupItems: true onSurfaceDestroyed: chrome.destroy(); } diff --git a/examples/wayland/multi-screen/qml/main.qml b/examples/wayland/multi-screen/qml/main.qml index 9b97c95b9..354dd1c91 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.0 +import QtWayland.Compositor 1.1 import QtQml.Models 2.1 WaylandCompositor { @@ -100,9 +100,8 @@ WaylandCompositor { onWlShellSurfaceCreated: handleShellSurfaceCreated(shellSurface) } - XdgShellV5 { - onXdgSurfaceCreated: handleShellSurfaceCreated(xdgSurface) - onXdgPopupCreated: handleShellSurfaceCreated(xdgPopup) + XdgShellV6 { + onToplevelCreated: handleShellSurfaceCreated(xdgSurface) } function createShellSurfaceItem(shellSurface, moveItem, output) { |