awful.rules: fix client tagging with multiple screens
commit56c1fdf226835c9626d1227034e6422c0e0033c1
authorAdrian C. (anrxc) <anrxc@sysphere.org>
Sun, 10 Jan 2010 20:30:35 +0000 (10 21:30 +0100)
committerJulien Danjou <julien@danjou.info>
Mon, 11 Jan 2010 09:09:19 +0000 (11 10:09 +0100)
tree21164866e1f2d8e8e9814300b00409c2676a3847
parentdfd6060a53cdf7d3a372117da40a8c8eefc991f9
awful.rules: fix client tagging with multiple screens

Commit a757dda replaced the awful.client.movetotag call with c:tags()
in the tag property handler. Which introduced a regression when more
than one screen is used. The awful.tag.withcurrent function was being
called even when there was a valid tag property. Now the clients
screen is set to the tag screen to ensure the client is moved to the
correct tag and screen.

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
lib/awful/rules.lua.in