1
0
Fork 0

Make VirtualDesktop enable borderless

This commit is contained in:
under 2024-03-20 12:54:17 -07:00
parent 64a311a253
commit 65414609bc
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ extends Control
@export var the_game: Control # TheGame @export var the_game: Control # TheGame
var current_window: Control = the_game # current window var current_window: Control = the_game # current window
func _ready() -> void:
DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_BORDERLESS, true)
func _process(_delta): func _process(_delta):
#get_window().grab_focus() #get_window().grab_focus()
pass pass