From 6fe62d2093636b9c4ef432bab2f64fa2d2d4aed6 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 29 Dec 2008 12:27:59 +0100 Subject: [PATCH] awesomerc: do not change windows screen if filtered out. Signed-off-by: Julien Danjou --- awesomerc.lua.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index e01a9275e..7b1bec29b 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -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