From 280d17bb2d9f2c75ee60fe97854b6f5ec3bb56cc Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 29 May 2021 12:09:33 +0200 Subject: rc: always place new clients on the screen with the mouse --- rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3