1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-28 01:30:59 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-gui/0001-Start-in-fullscreen-and-without-window.patch

33 lines
1.0 KiB
Diff

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