summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.lua b/rc.lua
index c19dd8e..3b6f65c 100644
--- a/rc.lua
+++ b/rc.lua
@@ -172,7 +172,7 @@ client.connect_signal("manage", function (c, startup)
end
-- put the client where the mouse is
- if client.focus then
+ if c.screen ~= mouse.screen then
c:move_to_screen(mouse.screen)
end
end)