MycroftOS: GUI: Start mycroft-gui in fullscreen and windowless mode

This commit is contained in:
j1nx 2020-05-28 08:24:04 +02:00
parent 2863bde483
commit 12a027f3e2
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
From d271fbaabd93542d2ec33eeca38524be7a3d1e34 Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
Date: Thu, 28 May 2020 08:09:35 +0200
Subject: [PATCH 1/1] Start in fullscreen and without window
---
application/main.qml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/application/main.qml b/application/main.qml
index d779c2f..78942a5 100644
--- a/application/main.qml
+++ b/application/main.qml
@@ -28,6 +28,7 @@ import org.kde.private.mycroftgui 1.0 as MycroftGui
Kirigami.ApplicationWindow {
id: root
visible: true
+ visibility: "FullScreen"
minimumHeight : deviceHeight || undefined
maximumHeight : deviceHeight || undefined
@@ -35,6 +36,7 @@ Kirigami.ApplicationWindow {
maximumWidth : deviceWidth || undefined
x: deviceWidth ? Screen.desktopAvailableHeight - width : undefined
y: deviceHeight ? Screen.desktopAvailableHeight - height : undefined
+ flags: Qt.FramelessWindowHint
//HACK!! needs proper api in kirigami
Component.onCompleted: {
--
2.20.1