From 6f8655590e6b6e62888d7f4a0db4775d6034de70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20D=C3=BCrrenberger?= Date: Fri, 20 Dec 2024 00:22:27 +0100 Subject: [PATCH] Add limitation info regarding setMouseCursorVisible --- include/SFML/Window/WindowBase.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/SFML/Window/WindowBase.hpp b/include/SFML/Window/WindowBase.hpp index d2a3a53dc..54e4ce24e 100644 --- a/include/SFML/Window/WindowBase.hpp +++ b/include/SFML/Window/WindowBase.hpp @@ -439,6 +439,9 @@ public: /// /// The mouse cursor is visible by default. /// + /// \warning On Windows, this function needs to be called from the + /// thread that created the window. + /// /// \param visible `true` to show the mouse cursor, `false` to hide it /// ////////////////////////////////////////////////////////////