Window matching by WM_ICON_NAME not by WM_CLASS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Awn |
Fix Released
|
Medium
|
moonbeam |
Bug Description
I like to have custom icons for my applications. F.e. if I run rxvt-unicode it shows up as an ugly icon in AVN. So I change it to something nice. :)
The problem is that the change lasts only for one window. Another opened window gets the usual ugly icon.
I guess the problem is that AVN matches Windows with icons by windows titles (WM_ICON_NAME property) instead of their class (WM_CLASS property). I think that windows should be matched with their classes, not titles. Titles can change anytime. F.e. I use random fortune for titles of my terminal windows but they are still the same class.
For some reson this works well with gnome-terminal not with rxvt-unicode (which I prefer as it is faster and doesn't have bugs). I guess that gnome-terminal first sets "Terminal" as window title and then sets the title supplied from shell process. Rxvt-unicode is I guess faster or does it the other way. Anyway I get ugly icon for urxvt. :(
Concluding I think it would be nice that you guys implement more inteligent way of window matching.
Changed in awn: | |
status: | New → Confirmed |
Changed in awn: | |
status: | In Progress → Fix Committed |
Changed in awn: | |
status: | Fix Committed → Fix Released |
Window matching algorithms were completely revamped for the 0.4 version.