lib/awful/rules.lua fix requesting nil tag name (#2479)

Related PR: #2354 

We always passed a nil value, guess it's a typo.
This commit is contained in:
Michele Lazzeri 2018-11-14 21:23:05 +01:00 committed by Emmanuel Lepage Vallée
parent bf50daf94e
commit 2308509f39
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ function rules.high_priority_properties.tag(c, value, props)
local name = value
value = atag.find_by_name(c.screen, value)
if not value and not props.screen then
value = atag.find_by_name(nil, value)
value = atag.find_by_name(nil, name)
end
if not value then
require("gears.debug").print_error("awful.rules-rule specified "