Merge pull request #438 from blueyed/ewmh-activate-raise-always
ewmh.activate: raise a client always
This commit is contained in:
commit
bf630de74e
|
@ -164,9 +164,8 @@ function ewmh.activate(c, context, hints)
|
||||||
client.focus = c
|
client.focus = c
|
||||||
end
|
end
|
||||||
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