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

sway/workspaces: use X11 class for XWayland windows #3801

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

majutsushi
Copy link
Contributor

@majutsushi majutsushi commented Dec 1, 2024

When using window-rewrite, the class<> rule would previously only match against the app_id of a window. However, XWayland windows don't have an app ID, resulting in an empty string for the rewritten name.

This change falls back to checking the class window property if there is no app ID to support matching against XWayland windows.

Closes: #3020

When using `window-rewrite`, the `class<>` rule would previously only
match against the `app_id` of a window. However, XWayland windows don't
have an app ID.

This change falls back to checking the `class` window property if there
is no app ID to support matching against XWayland windows.
@Alexays Alexays merged commit 758c14c into Alexays:master Dec 7, 2024
@Alexays
Copy link
Owner

Alexays commented Dec 7, 2024

Thanks!

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.

sway/workspaces window-rewrite does not support Xwayland
2 participants