Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

steamcompmgr: Accept any requested iconic state change. #1731

Closed
wants to merge 2 commits into from

Conversation

rbernon
Copy link

@rbernon rbernon commented Jan 29, 2025

Depends on #1730 to be merged first, I made a separate MR as it is a different problem.

This will let Wine support minimized windows with gamescope, even though the windows will not be really minimized from the window manager point of view. We now have a better window state tracker and we rely on the WM_STATE property being consistent. Gamescope already restores WM_STATE to NormalState when focus is gained, which will trigger a window restore on the Win32 side on any previously minimized window.

This is mandated by the ICCCM specification and Wine now depends on it.
Several windows applications are broken if the windows are restored
right away after being iconic as they will conflict with the foreground
window.

We can accept the iconic state change without doing anything special,
and the windows will later be restored to normal state on focus change.
@misyltoad
Copy link
Collaborator

Merged manually.

@misyltoad misyltoad closed this Feb 13, 2025
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