forked from LGDG/ExampleProject
Make VirtualDesktop enable borderless
This commit is contained in:
parent
64a311a253
commit
65414609bc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue