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

x11: Set WM_CLASS on windows #1868

Merged
merged 2 commits into from
Jul 10, 2021
Merged

Conversation

psychon
Copy link
Contributor

@psychon psychon commented Jul 10, 2021

I compared "xprop" output between a random window with the gtk and x11
backends and noticed that WM_CLASS is missing, even though it is
required by ICCCM.

This commit implements setting the WM_CLASS property on x11.

This was tested via "xprop": gtk and x11 backends now produce the same
value for the WM_CLASS property.

Signed-off-by: Uli Schlachter psychon@znc.in

I compared "xprop" output between a random window with the gtk and x11
backends and noticed that WM_CLASS is missing, even though it is
required by ICCCM.

This commit implements setting the WM_CLASS property on x11.

This was tested via "xprop": gtk and x11 backends now produce the same
value for the WM_CLASS property.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Copy link
Collaborator

@maan2003 maan2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@maan2003 maan2003 merged commit e918754 into linebender:master Jul 10, 2021
@psychon psychon deleted the x11_wm_class branch July 10, 2021 09:17
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.

None yet

2 participants