diff options
author | Scott Anderson <scott.anderson@collabora.com> | 2019-09-28 15:23:11 +1200 |
---|---|---|
committer | Scott Anderson <scott.anderson@collabora.com> | 2019-09-28 15:23:11 +1200 |
commit | a3433100dccaca03c95bc03fd66939fb4eca6670 (patch) | |
tree | a135305a9cd5d62ceed3f31e0449e2bd220efbb5 /homescreen/qml/toppanel.qml | |
parent | 838d62ed32a6cd6d71c72a7b7b272d672bc7e674 (diff) |
Update to new weston design
This split the panels into their own separate windows which can be
managed by the compositor. It also makes use of the custom agl-shell
wayland protocol for this.
Signed-off-by: Scott Anderson <scott.anderson@collabora.com>
Diffstat (limited to 'homescreen/qml/toppanel.qml')
-rw-r--r-- | homescreen/qml/toppanel.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/homescreen/qml/toppanel.qml b/homescreen/qml/toppanel.qml new file mode 100644 index 0000000..957b957 --- /dev/null +++ b/homescreen/qml/toppanel.qml @@ -0,0 +1,15 @@ +import QtQuick 2.13 +import QtQuick.Window 2.13 +import QtQuick.Controls 2.13 + +Window { + id: toppanel + width: Screen.width + height: Screen.height * (240.0 / 1920.0) + flags: Qt.FramelessWindowHint + visible: true + //color: "#aaaa0000" + + TopArea { + } +} |