Skip to content

Support valve's invalid UTF-8 text-encoding atom #31

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

Merged
merged 1 commit into from
Jul 6, 2025
Merged

Conversation

Stebalien
Copy link
Member

Valve uses this 1 to specify the window name and they haven't fixed it in over a year. I hate shipping hacks to support broken software, but it's better than leaving it broken on principle.

  • xcb-icccm.el (xcb:icccm:-atoms): add the UTF-8 atom. (xcb:unmarshal): allow the UTF-8 atom as an alias for UTF8_STRING when getting (but not when setting) properties.

fixes emacs-exwm/exwm#140

Valve uses this [1] to specify the window name and they haven't fixed it
in over a year. I hate shipping hacks to support broken software, but it's
better than leaving it broken on principle.

* xcb-icccm.el (xcb:icccm:-atoms): add the UTF-8 atom.
(xcb:unmarshal): allow the UTF-8 atom as an alias for
UTF8_STRING when getting (but not when setting) properties.

[1]: ValveSoftware/steam-for-linux#10854

fixes emacs-exwm/exwm#140
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.

[XELB:ICCCM] Unsupported encoding: 907 when launching steam
1 participant