From d89889d05598af975ce0b9a758d6492cc03a8811 Mon Sep 17 00:00:00 2001
From: DeeJayLSP <60024671+DeeJayLSP@users.noreply.github.com>
Date: Mon, 4 Oct 2021 20:23:54 -0300
Subject: [PATCH] Describe how window mode setter and getter works
---
doc/classes/DisplayServer.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml
index 7eff8db59c1..01ca23c2172 100644
--- a/doc/classes/DisplayServer.xml
+++ b/doc/classes/DisplayServer.xml
@@ -556,6 +556,7 @@
+ Returns the current window's mode.
@@ -666,6 +667,8 @@
+ 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.