mirror of
				https://github.com/OpenVoiceOS/OpenVoiceOS
				synced 2025-06-05 22:19:21 +02:00 
			
		
		
		
	MycroftOS: GUI: Start mycroft-gui in fullscreen and windowless mode
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user