Kir-Antipov / cubes-without-borders

A mod that allows you to play Minecraft in a borderless fullscreen window
MIT License
18 stars 8 forks source link

Wrong status after hotkey toggle #3

Closed Madis0 closed 8 months ago

Madis0 commented 8 months ago

Using version 1.1.0+1.20 on Minecraft 1.20.4. When the user toggles the full screen via hotkey F11 (and possibly even by forcing it through the launcher, but I didn't test that), then the status ON/OFF/Borderless on vanilla/Sodium video settings becomes incorrect.

Kir-Antipov commented 8 months ago

I will close this one in favor of #2, because technically they are the same thing - when I fix #2, this will go away too automatically.

and possibly even by forcing it through the launcher, but I didn't test that

It's not really "forcing" the fullscreen mode, launchers just pass the --fullscreen flag, which overrides the corresponding window setting saved to a file from the last session. This scenario is handled correctly.