-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
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
Fullscreen toggle by window manager does not change OS.window_fullscreen property #40007
Comments
This is probably expected. Can the application even be aware of this? Is there any precedent of an application noticing when you use the window manager to make it fullscreen or borderless? |
I believe it can be made to be aware of it. Firefox can toggle its full screen mode successfully by using its shortcut I haven't tested anything on |
Looking at the FreeDesktop specification for
leads me to believe that the window manager should be sending |
I can confirm the issue on KDE / KWin too when setting Fullscreen with Right click on taskbar > More > Fullscreen. |
Fixed by #62543. |
Still needs to be fixed in 4.0 though (I checked and it's reproducible), so let's keep this open for now. |
Fixes godotengine#40007. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Godot version:
3.2 branch - 63fd0d3
OS/device including version:
Arch Linux
Issue description:
Toggling fullscreen mode
on
andoff
usingi3
as the window manager does not update the value ofOS.window_fullscreen
.I suppose this may be happening with other tiling/dynamic window managers.
Steps to reproduce:
OS.is_window_fullscreen()
. It returnsFalse
.Minimal reproduction project:
fullscreen_toggle.zip
The text was updated successfully, but these errors were encountered: