mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
manage signal handler: use awesome.startup
The `manage` arg is gone.
This commit is contained in:
parent
8bddba170b
commit
bc4a5f38c9
1 changed files with 3 additions and 3 deletions
|
@ -572,12 +572,12 @@ function tag.attached_connect_signal(screen, ...)
|
|||
end
|
||||
end
|
||||
|
||||
-- Register standards signals
|
||||
capi.client.connect_signal("manage", function(c, startup)
|
||||
-- Register standard signals.
|
||||
capi.client.connect_signal("manage", function(c)
|
||||
-- If we are not managing this application at startup,
|
||||
-- move it to the screen where the mouse is.
|
||||
-- We only do it for "normal" windows (i.e. no dock, etc).
|
||||
if not startup and c.type ~= "desktop" and c.type ~= "dock" then
|
||||
if not awesome.startup and c.type ~= "desktop" and c.type ~= "dock" then
|
||||
if c.transient_for then
|
||||
c.screen = c.transient_for.screen
|
||||
if not c.sticky then
|
||||
|
|
Loading…
Reference in a new issue