diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-07-30 12:05:12 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-28 13:09:41 +0200 |
commit | ab6980d57609b1e4bdb164d3413faa2f7cb7e1e4 (patch) | |
tree | ef68f66511347c0545559df6a81b6d56c6448eb4 /examples/wayland/pure-qml | |
parent | e88c2f37097901e228de70c62a0220386038a51a (diff) |
Move the output from QWaylandSurface to the QWaylandSurfaceView
and add a property called primaryOutput on the QWaylandSurface.
Also add some bookkeeping in QtWayland::Output so it knows what surfaces
and views it currently holds, sending the enter and leave events
automatically.
Change-Id: Ib6efbc6f8157657fb4451b751bba1cb5345b7906
Diffstat (limited to 'examples/wayland/pure-qml')
-rw-r--r-- | examples/wayland/pure-qml/qml/Chrome.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/wayland/pure-qml/qml/Chrome.qml b/examples/wayland/pure-qml/qml/Chrome.qml index 0f82a44ee..0ecb99b53 100644 --- a/examples/wayland/pure-qml/qml/Chrome.qml +++ b/examples/wayland/pure-qml/qml/Chrome.qml @@ -57,7 +57,11 @@ Item { onSurfaceDestroyed: { destroyAnimation.start(); + if (view) { + view.lockedBuffer = true; + } } + } SequentialAnimation { |