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

Match on window class and instance, not title. Use xcb_icccm. #121

Merged
merged 1 commit into from
Jul 1, 2021
Merged

Match on window class and instance, not title. Use xcb_icccm. #121

merged 1 commit into from
Jul 1, 2021

Conversation

qsmodo
Copy link
Contributor

@qsmodo qsmodo commented Jun 11, 2021

Since window titles are so much more volatile than the WM_CLASS elements, most window managers match the latter rather than the former.

Moreover, as described by #117 (which I plan to fix in a future PR), several clients, especially old school ones such as Xterm, Xfontsel, Xmessage etc. do not respond to the ewmh functions so they were impossible to match.

@sulami sulami merged commit 79488d0 into sulami:master Jul 1, 2021
@qsmodo
Copy link
Contributor Author

qsmodo commented Jul 1, 2021

I just noticed I inadvertently kept wtitle as the name of the variable. It should be wise to change it — say, to wclass or classreply — since it does not contain a title anymore. Sorry for the oversight.

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