Rediscover the classic experience of Minecraft with the Auto Minimize on Focus Loss mod, which brings back the functionality where the game window minimizes automatically when it loses focus.
Understanding Auto Minimize on Focus Loss
The Auto Minimize on Focus Loss mod allows your Minecraft game to minimize its fullscreen window when you switch to another application. This lightweight utility mod is designed for versions of Minecraft that utilize the SDL3 window backend.
This mod acts as the SDL variant of the previously existing Stop Minimizing on Focus Loss. While that older modification disables the auto-minimization behavior of GLFW/SDL, this mod explicitly reinstates the default SDL functionality.
How It Works
Starting from version 26.3-snapshot-4, Minecraft transitioned from GLFW to SDL3 for window handling. Once the game initializes the SDL-based window, this mod activates SDL’s global fullscreen focus-loss setting:
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "1");
By enabling this setting, SDL minimizes fullscreen applications upon focus loss. Importantly, this config does not compel the game to lose focus, alter the Minecraft settings for pausing on lost focus, nor does it minimize standard windowed applications.
Compatibility Information
- Compatible with Fabric: Works for Minecraft version
26.3-snapshot-4and higher (26.3-alpha.4in the normalized versioning of Fabric Loader) - Requires Java 25 or newer
Versions prior to 26.3-snapshot-4 are deliberately unsupported due to the reliance on the outdated GLFW window backend. For users of those earlier versions, it is recommended to utilize the Stop Minimizing on Focus Loss mod for opposite functionality.
