diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-06 09:11:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 09:11:21 +0200 |
commit | 425f643e0534bd4c75624191859e375d1e801b65 (patch) | |
tree | 55f0de9f33ae818afcfc93831152471d7e6892ab /doc | |
parent | aa02e0b1515575a3c4e8c1f927d6e4548aed6cd4 (diff) | |
parent | d89889d05598af975ce0b9a758d6492cc03a8811 (diff) |
Merge pull request #53416 from DeeJayLSP/patch-1
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/DisplayServer.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index 7eff8db59c..01ca23c217 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -556,6 +556,7 @@ <return type="int" enum="DisplayServer.WindowMode" /> <argument index="0" name="window_id" type="int" default="0" /> <description> + Returns the current window's mode. </description> </method> <method name="window_get_position" qualifiers="const"> @@ -666,6 +667,8 @@ <argument index="0" name="mode" type="int" enum="DisplayServer.WindowMode" /> <argument index="1" name="window_id" type="int" default="0" /> <description> + Sets window mode for the given window to [code]mode[/code]. See [enum WindowMode] for possible values and how each mode behaves. + [b]Note:[/b] Setting the window to fullscreen forcibly sets the borderless flag to [code]true[/code], so make sure to set it back to [code]false[/code] when not wanted. </description> </method> <method name="window_set_mouse_passthrough"> |