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)
|
||||
client.focus = c
|
||||
if hints and hints.raise then
|
||||
if awesome.startup or c:isvisible() then
|
||||
c:raise()
|
||||
else
|
||||
if not awesome.startup and not c:isvisible() then
|
||||
c.urgent = true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue