-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use OS.set_current_screen while in true fullscreen #14620
Comments
Can you confirm this still occurs on Godot 3.0.3 / master? |
FYI: Used your suggested workaround for Linux on GD 3.2.1 - TY |
At least on Linux Lines 1184 to 1194 in 2d57df6
But it could be that it doesn't work. (CC @bruvzg @pouleyKetchoupp) |
Same issue in Godot Engine v3.4.stable.official.206ba70f4 If fullscreen is enabled from Project>Settings:
Prints
And the game screen is 0. But if I disable fullscreen and do:
I get:
And it works as expected. |
Fixed by #63192. |
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows 64bit & NVIDIA GeForce GTX 970
Linux 64bit & NVIDIA GeForce GTX 1060
Godot 2.1.4
Issue description:
When the application is in true fullscreen mode (via
OS.set_window_fullscreen
), usingOS.set_current_screen
does not do anything.You'd expect it would switch to the passed monitor.
As a workaround, you have to switch the window to another mode (like windowed or borderless fullscreen), before calling
OS.set_current_screen
. Then, you can apply true fullscreen again.It isn't too much work, but still shouldn't be required.
Steps to reproduce:
Try above description in the window management demo.
The text was updated successfully, but these errors were encountered: