From d87074446507255ad6c589b1044bdce382604cb1 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 18 Sep 2009 12:28:02 +0200 Subject: rc.lua: improved client placement --- rc.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rc.lua') diff --git a/rc.lua b/rc.lua index 11a0f6f..4dd5ff0 100644 --- a/rc.lua +++ b/rc.lua @@ -661,8 +661,10 @@ client.add_signal("manage", function (c, startup) end) -- Client placement - awful.client.setslave(c) - awful.placement.no_offscreen(c) + if not startup then + awful.client.setslave(c) + awful.placement.no_offscreen(c) + end -- Honor size hints c.size_hints_honor = false -- cgit v1.2.3