[xmonad] Moving windows to a workspace based on their title /
console applications in terminal emulators
sjanssen at cse.unl.edu
Fri Feb 1 03:58:57 EST 2008
On Fri, Feb 01, 2008 at 09:29:08AM +0100, lobzang at 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...
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).
More information about the xmonad