Fix a bug when using in a rule the property 'tag'.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Clément Démoulins 2012-10-26 01:26:59 +02:00 committed by Uli Schlachter
parent 2ea8f44694
commit d729b71b17
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ function rules.apply(c)
aclient.floating.set(c, value)
elseif property == "tag" then
c:tags({ value })
c.screen = value.screen
c.screen = atag.getscreen(value)
elseif property == "switchtotag" and value and props.tag then
atag.viewonly(props.tag)
elseif property == "height" or property == "width" or