diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2016-08-24 13:19:51 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2016-09-05 09:19:36 +0000 |
commit | b9585b440819e1444b20f30435f81c46801158c5 (patch) | |
tree | 9a056ae9ce8400a99ce251a925389bc9c68e242b /wayland/democompositor/qml/Chrome.qml | |
parent | 78eb50815059026b50849eb45b95654c59ba88dc (diff) |
Update to latest API
Change-Id: Ifb705ae3dfaa12aa23638d3d340c5c17203efb51
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'wayland/democompositor/qml/Chrome.qml')
-rw-r--r-- | wayland/democompositor/qml/Chrome.qml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/wayland/democompositor/qml/Chrome.qml b/wayland/democompositor/qml/Chrome.qml index ea613fa..33a5b99 100644 --- a/wayland/democompositor/qml/Chrome.qml +++ b/wayland/democompositor/qml/Chrome.qml @@ -106,7 +106,7 @@ Rectangle { } ] - WaylandQuickItem { + ShellSurfaceItem { id: surfaceItem anchors.fill: parent @@ -116,13 +116,11 @@ Rectangle { property bool dead: false property bool valid: false property bool explicitlyHidden: false - property var shellSurface: ShellSurface { - } sizeFollowsSurface: false onSurfaceDestroyed: { - view.bufferLock = true; + bufferLocked = true; x = 0 y = 0 rootChrome.destroyAnimation.start(); |