summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-24 10:14:58 +0200
committerGitHub <noreply@github.com>2019-09-24 10:14:58 +0200
commit4bdb3f4016fdddc648e4c92a93f5247d4f2c1689 (patch)
tree77a549ed00e09ff030ae3cd9b839a5182d697148
parentfd3c825034bb03f6705e1b9f6168604c8fb5732e (diff)
parentc99d80b414a5ccf400f8590edd497974017c6b88 (diff)
Merge pull request #32257 from Calinou/doc-set-window-title-performance
Mention performance caveats of `OS.set_window_title()`
-rw-r--r--doc/classes/OS.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index 938777a36b..afa0222c6e 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -820,6 +820,7 @@
</argument>
<description>
Sets the window title to the specified string.
+ [b]Note:[/b] This should be used sporadically. Don't set this every frame, as that will negatively affect performance on some window managers.
</description>
</method>
<method name="shell_open">