
1 Feb
2008
1 Feb
'08
3:58 a.m.
On Fri, Feb 01, 2008 at 09:29:08AM +0100, lobzang@free.fr wrote:
Hey !
Indeed there is a bug. I did a simple test :
1)with urxvt urxvt -name icq --> xprop says WM_CLASS(STRING) = "icq", "URxvt" --> xmonad puts the window matching URxvt pattern , not icq
2)with xterm xterm -class icq --> xprop says WM_CLASS(STRING) = "xterm", "icq" --> the window is placed in my icq workspace. Again xmonad seems to take only the second class string to match
So for now you can probably use xterm...
Lobzang.
You're observing the difference between class name and resource name. Apparently 'xterm -class' sets the class name (called className in ManageHook), but 'urxvt -name' sets resource name (called resource in ManageHook).