From 81b073e0a55a8e01b39b9f914a92d5c5e305c138 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Sun, 10 Jan 2010 21:30:35 +0100 Subject: [PATCH] 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) Signed-off-by: Julien Danjou --- lib/awful/rules.lua.in | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful/rules.lua.in b/lib/awful/rules.lua.in index 420ec440f..bf8e57739 100644 --- a/lib/awful/rules.lua.in +++ b/lib/awful/rules.lua.in @@ -113,6 +113,7 @@ function apply(c) aclient.floating.set(c, value) elseif property == "tag" then c:tags({ value }) + c.screen = value.screen elseif property == "switchtotag" and value and props.tag then atag.viewonly(props.tag) elseif property == "height" or property == "width" or