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:
parent
bf50daf94e
commit
2308509f39
|
@ -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 "
|
||||
|
|
Loading…
Reference in New Issue