parent
321eb30ea4
commit
69e9cc4cbd
|
@ -98,6 +98,12 @@ function ewmh.activate(c, context, hints) -- luacheck: no unused args
|
||||||
if found then break end
|
if found then break end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Minimized clients can be requested to have focus by, for example, 3rd
|
||||||
|
-- party toolbars and they might not try to unminimize it first.
|
||||||
|
if ret ~= false and hints.raise then
|
||||||
|
c.minimized = false
|
||||||
|
end
|
||||||
|
|
||||||
if ret ~= false and c:isvisible() then
|
if ret ~= false and c:isvisible() then
|
||||||
client.focus = c
|
client.focus = c
|
||||||
elseif ret == false and not hints.force then
|
elseif ret == false and not hints.force then
|
||||||
|
|
Loading…
Reference in New Issue