summaryrefslogtreecommitdiffstats
path: root/examples/wayland/pure-qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/pure-qml')
-rw-r--r--examples/wayland/pure-qml/qml/main.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/wayland/pure-qml/qml/main.qml b/examples/wayland/pure-qml/qml/main.qml
index 9ed4acd24..77ed3ecd9 100644
--- a/examples/wayland/pure-qml/qml/main.qml
+++ b/examples/wayland/pure-qml/qml/main.qml
@@ -104,9 +104,8 @@ WaylandCompositor {
}
onPopupCreated: {
var parentView = viewsBySurface[popup.parentXdgSurface.surface];
- var item = chromeComponent.createObject(defaultOutput.surfaceArea, { "shellSurface": xdgSurface } );
+ var item = chromeComponent.createObject(parentView, { "shellSurface": xdgSurface } );
viewsBySurface[xdgSurface.surface] = item;
- //TODO: set popup position
}
}