Skip to content

x11: Do not unminimize windows with initial IconicState#826

Open
zzhiyi wants to merge 1 commit into
linuxmint:masterfrom
zzhiyi:bug-27190-xcom2-no-keyboard-input
Open

x11: Do not unminimize windows with initial IconicState#826
zzhiyi wants to merge 1 commit into
linuxmint:masterfrom
zzhiyi:bug-27190-xcom2-no-keyboard-input

Conversation

@zzhiyi

@zzhiyi zzhiyi commented Jun 10, 2026

Copy link
Copy Markdown

This fixes XCOM® 2 (SteamID: 268500) keyboard controls not working on Proton experimental_11.0. Wine expects the WM_STATE property to be changed to Iconic after mapping a window with XWMHints.initial_state set to IconicState.

This is picked from Mutter commit 3218626d. Below is the original commit message.

This is a revert of commit be5c2ebc, adapted to this day and age.
While this worked around issues in wine/proton, it did contravene
icccm in the interpretation of initially iconic windows.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2043
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3001>

Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com

This fixes XCOM® 2 (SteamID: 268500) keyboard controls not working on Proton experimental_11.0.
Wine expects the WM_STATE property to be changed to Iconic after mapping a window with
XWMHints.initial_state set to IconicState.

This is picked from Mutter commit 3218626d. Below is the original commit message.

```
This is a revert of commit be5c2ebc, adapted to this day and age.
While this worked around issues in wine/proton, it did contravene
icccm in the interpretation of initially iconic windows.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2043
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3001>
```

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
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