summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-09-22 19:00:33 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-09-22 19:01:34 +0200
commitc99d80b414a5ccf400f8590edd497974017c6b88 (patch)
tree5c05fe16816191ec136f0899aaa139f41ba92334 /doc
parent2e065d8ad07bb20fede0d0c0b2d33d6628033024 (diff)
Mention performance caveats of `OS.set_window_title()`
See #32254.
Diffstat (limited to 'doc')
-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">