ewmh.activate: raise a client always
When a client is not visible, this would adjust its stacking order still. This also addresses https://github.com/awesomeWM/awesome/issues/472, because it raises unminimized clients after they got focused.
This commit is contained in:
parent
0414a579c2
commit
81e59cdfc8
|
@ -162,9 +162,8 @@ end
|
||||||
function ewmh.activate(c, context, hints)
|
function ewmh.activate(c, context, hints)
|
||||||
client.focus = c
|
client.focus = c
|
||||||
if hints and hints.raise then
|
if hints and hints.raise then
|
||||||
if awesome.startup or c:isvisible() then
|
c:raise()
|
||||||
c:raise()
|
if not awesome.startup and not c:isvisible() then
|
||||||
else
|
|
||||||
c.urgent = true
|
c.urgent = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue