awesomerc: do not change windows screen if filtered out.
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
d779aa6c40
commit
6fe62d2093
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue