Kir-Antipov / cubes-without-borders

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

Breaks Discord game overlay #27

Open Hlebuw3k opened 1 month ago

Hlebuw3k commented 1 month ago

Enabling the regular or borderless fullscreen settings disables the Disord game overlay and game detection until the setting is disabled AND the game is restarted, does not happen without this mod.

Kir-Antipov commented 1 month ago

I'll check on one thing that might be the cause here. However, I wouldn't be too hopeful: if it doesn't end up working, there's nothing I can do about it since Discord Overlay is a piece of proprietary software that doesn't even provide any public APIs one can hook into.

Depending on your use case, you may try cubes-with-borders, which simply tweaks the regular fullscreen mode so the game doesn't automatically minimize itself whenever its window loses focus. However, be warned that focusing/unfocusing Minecraft's window with it in place will result in a flicker, in case you are sensitive to that. Oh, and don't install both mods side by side, to prevent the issue from persisting due to this mod's mere presence.

Hlebuw3k commented 1 month ago

Just to clarify: After enabling either fullscreen or borderless options, Discord stops detecting Minecraft as an application altogether. I can add my browser or the Minecraft launcher as a program to Discord to set it as my status, but Minecraft just disappears. I have tried to use 2 rich presence mods, CraftPresence and Simple Discord RPC, but they don't add back the overlay.

Kir-Antipov commented 1 month ago

Yep, thanks, figured! Are you on Win11?

Hlebuw3k commented 1 month ago

Windows 10 Pro 22H2, 64 bit