-
Notifications
You must be signed in to change notification settings - Fork 37
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
Use GLFW_AUTO_ICONIFY with GLFW's fullscreen on Linux #64
Comments
Does it work with multiple monitors on KDE? I was under the impression that clicking out of the Minecraft window in vanilla causes it to minimise on both Windows and Linux, so this mod is still useful for multiple-monitor setups even when the compositor doesn't give exclusive display access. |
I have 2 monitors and I can click outside minecraft without it minimising. Actually, when this mod is enabled, it "fullscreens" without covering the action bar, and if I fullscreen the window in the compositor, F11 just does nothing. I am using kwin on wayland if that helps. (Osu!lazer minimizes on lost focus, so I think Minecraft never intended to in the first place) |
That's... interesting. Without Borderless Mining, GLFW should always minimise on lost focus if GLFW_AUTO_ICONIFY is set (it's set by default, and not disabled by Minecraft), so unless KWin is lying to it or there's some Xwayland shenanigans I don't know why it wouldn't minimise. @OffsetMonkey538 @CorneliusCornbread how well does vanilla fullscreen work on your setups? |
Oh. I see what you mean. Indeed, if I make minecraft fullscreen from within minecraft, it will minimize. But I have a system-wide shortcut for making apps fullscreen, which I use instead because it works on any app. Granted, it tells everybody but minecraft that it's fullscreen. |
Vanilla fullscreen works perfectly fine, it just won't stay open when selecting other windows on other monitors. |
I wonder if a good strategy then would just be to disable |
It would be wonderful, because afaik only Windows has composting problems with fullscreen apps like not showing second monitor, and that default setting looks like a bad solution made specifically for Windows. |
can you share the code pls? |
There is no code. It is |
Thanks, alternatively it is possible to set a Windowrule to automatically make Minecraft fullscreen 'Settings'-> Workspace>Windowmanagement->Windowrules->New and than catch the window, set Windowclass to apply if "minecraft*" is included and Fullscreen to "Yes". |
Linux KDE has a much better compositor and all support by default, so this mod should be disabled.
Why not make it only enabled on Windows, the only place where it is needed anyway?
Or maybe turn it off on non-windows by default so that people don't struggle with the hotkey not working corectly in some modpacks
The text was updated successfully, but these errors were encountered: