sulami / FrankenWM

🖼️ Fast dynamic tiling X11 window manager
https://bbs.archlinux.org/viewtopic.php?id=189060
Other
263 stars 34 forks source link

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

Closed qsmodo closed 3 years ago

qsmodo commented 3 years ago

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.

qsmodo commented 3 years ago

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.