From 65414609bc39157d9c5ddd385aa87f8948b60fa8 Mon Sep 17 00:00:00 2001 From: under Date: Wed, 20 Mar 2024 12:54:17 -0700 Subject: [PATCH] Make VirtualDesktop enable borderless --- RetroWindowsGUI/Desktop.gd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RetroWindowsGUI/Desktop.gd b/RetroWindowsGUI/Desktop.gd index e4d7858..e6cacd7 100644 --- a/RetroWindowsGUI/Desktop.gd +++ b/RetroWindowsGUI/Desktop.gd @@ -4,6 +4,9 @@ extends Control @export var the_game: Control # TheGame var current_window: Control = the_game # current window +func _ready() -> void: + DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_BORDERLESS, true) + func _process(_delta): #get_window().grab_focus() pass