summaryrefslogtreecommitdiffstats
path: root/examples/wayland/multi-output/qml/Chrome.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/multi-output/qml/Chrome.qml')
-rw-r--r--examples/wayland/multi-output/qml/Chrome.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/wayland/multi-output/qml/Chrome.qml b/examples/wayland/multi-output/qml/Chrome.qml
index 0f82a44ee..27160f15a 100644
--- a/examples/wayland/multi-output/qml/Chrome.qml
+++ b/examples/wayland/multi-output/qml/Chrome.qml
@@ -43,8 +43,11 @@ import QtWayland.Compositor 1.0
Item {
id: rootChrome
- x: clampXPos()
- y: clampYPos()
+ //x: clampXPos()
+ //y: clampYPos()
+ x: chrome.requestedXPosition
+ y: chrome.requestedYPosition
+
width: childrenRect.width
height: childrenRect.height