Skip to content

steamcompmgr: Reset focusWindow after entering iconic state.#2237

Open
zzhiyi wants to merge 1 commit into
ValveSoftware:masterfrom
zzhiyi:bug-26340-RPGMaker-engine-games-no-input-after-minimization
Open

steamcompmgr: Reset focusWindow after entering iconic state.#2237
zzhiyi wants to merge 1 commit into
ValveSoftware:masterfrom
zzhiyi:bug-26340-RPGMaker-engine-games-no-input-after-minimization

Conversation

@zzhiyi

@zzhiyi zzhiyi commented Jun 28, 2026

Copy link
Copy Markdown

After "0a09639d steamcompmgr: Accept any requested iconic state change.", a focus change is required to change the state of a window to ICCCM_NORMAL_STATE. However, ctx->focus.focusWindow is not changed. So, in DetermineAndApplyFocus(), the "if ( prevFocusWindow != ctx->focus.focusWindow )" fails, thus the window is not restored to ICCCM_NORMAL_STATE when expected.

Fix RPGMaker Engine games that freeze after minimization.

After "0a09639d steamcompmgr: Accept any requested iconic state change.", a focus change is required
to change the state of a window to ICCCM_NORMAL_STATE. However, ctx->focus.focusWindow is not
changed. So, in DetermineAndApplyFocus(), the "if ( prevFocusWindow != ctx->focus.focusWindow )"
fails, thus the window is not restored to ICCCM_NORMAL_STATE when expected.

Fix RPGMaker Engine games that freeze after minimization.
@oSoMoN

oSoMoN commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

This isn't working as advertised. Tested with a couple of games ("Labyrinth Flowers" and "Obscurite Magie 3: The Divine Stones") that when run with Proton 10 are windowed and allow minimizing, what I'm observing is that when I first click to minimize the window, rendering doesn't freeze, but the window isn't minimized either. If I click again on the minimize button, rendering freezes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants