Auto Minimize on Focus Loss 图标

Auto Minimize on Focus Loss

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.1.0+26.3-snapshot-5-quilt
本资源为搬运资源,原资源地址: https://modrinth.com/mod/auto-minimize-on-focus-loss
资源信息

Minecraft 版本: 26.3-snapshot-5

平台: quilt

标签: utility

资源介绍

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-4 and later (26.3-alpha.4 in 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.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Songs of Origins

价格:0 墨喵币
下载量:0

查看详情
FreshFix

价格:0 墨喵币
下载量:0

查看详情
Winded

价格:0 墨喵币
下载量:0

查看详情
Gloomfall

价格:0 墨喵币
下载量:0

查看详情