diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2023-02-08 13:38:22 +0100 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2023-03-02 11:44:51 +0000 |
commit | dfe0f9740620ef2267225eeef445bfd7e3cb3348 (patch) | |
tree | d709048fd51050c6942030c5166ea425fbd00134 /examples/wayland/custom-extension/compositor/qml/CompositorScreen.qml | |
parent | ee92c05f34e96431e22b5735d3b864d08e2e4ad3 (diff) |
Revamp/document custom-extension example
This is a very useful example which was unfortunately
undocumented.
It also needed some clean-up in the code, and as part of
writing the documentation, it became clear that it would be
an easier demonstration to follow if the QML client was
more similar to the C++ client, so that they were simply two
implementations of the same spec.
Fixes: QTBUG-110919
Change-Id: Ia4476cda34056e28722af6639f95d8c87819681a
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'examples/wayland/custom-extension/compositor/qml/CompositorScreen.qml')
-rw-r--r-- | examples/wayland/custom-extension/compositor/qml/CompositorScreen.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/wayland/custom-extension/compositor/qml/CompositorScreen.qml b/examples/wayland/custom-extension/compositor/qml/CompositorScreen.qml index ec70a4373..ea2cb9b16 100644 --- a/examples/wayland/custom-extension/compositor/qml/CompositorScreen.qml +++ b/examples/wayland/custom-extension/compositor/qml/CompositorScreen.qml @@ -9,6 +9,7 @@ WaylandOutput { id: output property alias surfaceArea: background sizeFollowsWindow: true + window: Window { id: screen |