From 9912b103a872e19f39926689ef92049825ea9895 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 29 May 2021 12:55:42 +0200 Subject: rc: put new clients at the end --- rc.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/rc.lua b/rc.lua index e7fb8b6..a36ce88 100644 --- a/rc.lua +++ b/rc.lua @@ -155,10 +155,6 @@ client.connect_signal("manage", function (c, startup) return end - -- Set the windows at the slave, - -- i.e. put it at the end of others instead of setting it master. - -- awful.client.setslave(c) - -- Put windows in a smart way, only if they does not set an initial position. if not c.size_hints.user_position and not c.size_hints.program_position then awful.placement.no_overlap(c) @@ -169,6 +165,9 @@ client.connect_signal("manage", function (c, startup) c:move_to_screen(mouse.screen) end + -- put new clients at the end + awful.client.setslave(c) + -- give the new client focus if c.focusable then gears.timer.delayed_call(function(c) c:jump_to(false) end, c) -- cgit v1.2.3