summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc.lua b/rc.lua
index 97cd114..06819e8 100644
--- a/rc.lua
+++ b/rc.lua
@@ -182,6 +182,11 @@ client.connect_signal("manage", function (c, startup)
-- Prevent clients from being unreachable after screen count change
awful.placement.no_offscreen(c)
end
+
+ -- put the client where the mouse is
+ if client.focus then
+ c:move_to_screen(mouse.screen)
+ end
end)
client.connect_signal("focus", function(c) c.border_color = "#b0e2ff" end)