Merge remote-tracking branch 'blueyed/fix-tag-signal-handler-wrt-startup'

This commit is contained in:
Uli Schlachter 2014-03-28 13:18:22 +01:00
commit 1c19d4c655
1 changed files with 3 additions and 3 deletions

View File

@ -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