diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-05-29 12:55:42 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-05-29 12:55:42 +0200 |
commit | 9912b103a872e19f39926689ef92049825ea9895 (patch) | |
tree | 45f696ecda81bedda831e722d4488e2d01419b0d | |
parent | a38a9625cd7c7b897edb9ff98b4f1f8a49779039 (diff) |
rc: put new clients at the end
-rw-r--r-- | rc.lua | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) |