awesomerc: do not change windows screen if filtered out.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-12-29 12:27:59 +01:00
parent d779aa6c40
commit 6fe62d2093
1 changed files with 3 additions and 2 deletions

View File

@ -365,8 +365,9 @@ awful.hooks.manage.register(function (c, startup)
end
-- If we are not managing this applicatin at startup,
-- move it to the screen where the mouse is
if not startup then
-- move it to the screen where the mouse is.
-- We only do it for filtered windows (i.e. no dock, etc).
if not startup and awful.client.focus.filter(c) then
c.screen = mouse.screen
end