manage signal handler: use awesome.startup
The `manage` arg is gone.
This commit is contained in:
parent
8bddba170b
commit
bc4a5f38c9
|
@ -572,12 +572,12 @@ function tag.attached_connect_signal(screen, ...)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Register standards signals
|
-- Register standard signals.
|
||||||
capi.client.connect_signal("manage", function(c, startup)
|
capi.client.connect_signal("manage", function(c)
|
||||||
-- If we are not managing this application at startup,
|
-- If we are not managing this application at startup,
|
||||||
-- move it to the screen where the mouse is.
|
-- move it to the screen where the mouse is.
|
||||||
-- We only do it for "normal" windows (i.e. no dock, etc).
|
-- 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
|
if c.transient_for then
|
||||||
c.screen = c.transient_for.screen
|
c.screen = c.transient_for.screen
|
||||||
if not c.sticky then
|
if not c.sticky then
|
||||||
|
|
Loading…
Reference in New Issue