Auto Minimize on Focus Loss
Re-enables the old Minecraft fullscreen behavior where windows will auto-minimize when focus is lost
介绍
Auto Minimize on Focus Loss
Auto Minimize on Focus Loss makes Minecraft minimize a fullscreen window when the game loses focus. It is a tiny client-side utility mod for Minecraft versions using the SDL3 window backend.
This project is the SDL-era counterpart to Stop Minimizing on Focus Loss. That older mod disables GLFW/SDL auto-minimization; this mod explicitly enables SDL’s behavior instead.
Behavior
Minecraft switched from GLFW to SDL3 in 26.3-snapshot-4. After Minecraft creates its SDL-backed window, this mod sets SDL’s global fullscreen focus-loss hint to enabled:
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "1");
With that value, SDL minimizes fullscreen windows when they lose focus. The hint does not force the game to lose focus, change Minecraft’s pause-on-lost-focus setting, or minimize ordinary windowed windows.
Supported targets
- Fabric: Minecraft
26.3-snapshot-4and later (26.3-alpha.4in Fabric Loader’s normalized version format) - Java 25 or later
Versions before 26.3-snapshot-4 are intentionally unsupported because they use the old GLFW window backend. Use Stop Minimizing on Focus Loss for the opposite behavior on those versions.
oggvik 的其他作品
查看全部 →
Revive Through Grass! [PlayerRevive add-on]
队友倒地时,可通过草、长草和花等经服务器允许的非实体方块与其互动,但无法隔墙复活队友。
Hear the Wind
快速腾空移动时播放客户端风声环境音。
Fullscreen Tweaks
扩展 Minecraft 的窗口设置,支持原生全屏和无边框全屏、自定义失去焦点时的行为,以及独立的加载界面选项——还可以让游戏在启动完成前始终保持最小化!
Configurable Zombie AI
一款用 Kotlin 编写的简易模组,为服务器管理员提供多种自定义原版僵尸 AI 的选项,还加入了一些全新的 AI 功能。也支持 SNC 中的纯粹泰坦!
评论
登录后评论和评分