Skip to content

ModernDisplay v2.5.5 — Alt-Tab / Minimize Freeze Fix

Choose a tag to compare

@xKumorio xKumorio released this 30 Nov 15:49
· 3 commits to main since this release
Immutable release. Only release title and notes can be modified.

Fixed / Исправлено

  • Fixed game freeze / hang on Alt-Tab / minimize (especially on Arizona RP borderless fullscreen):
    • Removed synchronous CoCreateInstance(CLSID_TaskbarList) / ITaskbarList::AddTab COM RPC calls during every minimize / WM_SIZE(SIZE_MINIMIZED) event (which could deadlock with explorer.exe while Alt-Tab focus switching was in progress).
    • Do not forcibly auto-minimize launcher-managed borderless windows (m_startupBorderlessInvert, e.g. Arizona RP Windowed=TRUE borderless) on WM_ACTIVATEAPP(0), eliminating window-management fights with �rizona.asi / libcef.asi.
    • Guarded ShowWindow(SW_SHOWMINNOACTIVE) in kMsgDeferMinimize against concurrent IDXGISwapChain::Present() on the async Render Thread (IsPresentInFlight()), preventing DXGI FLIP_DISCARD / DWM deadlocks.