mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Merge branch 'ewmh-activate-on-startup' of git://github.com/blueyed/awesome
This commit is contained in:
commit
44fb6e4de2
1 changed files with 2 additions and 2 deletions
|
@ -135,10 +135,10 @@ end
|
|||
|
||||
-- Activate a window
|
||||
function ewmh.activate(c)
|
||||
if c:isvisible() then
|
||||
if awesome.startup or c:isvisible() then
|
||||
client.focus = c
|
||||
c:raise()
|
||||
elseif not awesome.startup then
|
||||
else
|
||||
c.urgent = true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue