Merge pull request #53416 from DeeJayLSP/patch-1

This commit is contained in:
Rémi Verschelde 2021-10-06 09:11:21 +02:00 committed by GitHub
commit 425f643e05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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">