mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-10 05:04:50 +02:00
shifty: use perfect match for role
Otherwise, we would match "browser-window"
This commit is contained in:
parent
d305e9259d
commit
e1d4f9ae8a
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ function match(c, startup)
|
||||||
-- match only role
|
-- match only role
|
||||||
if not matched and role and a.match.role then
|
if not matched and role and a.match.role then
|
||||||
for k, w in ipairs(a.match.role) do
|
for k, w in ipairs(a.match.role) do
|
||||||
matched = role:find(w)
|
matched = (role == w)
|
||||||
if matched then
|
if matched then
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue