diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/wayland/pure-qml/qml/main.qml | 3 |
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 9ed4acd2..77ed3ecd 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 } } |