From 221f0685581010bca4a77cd9af24ab2ef596438b Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Wed, 23 Sep 2009 11:58:03 +0200 Subject: rc.lua: fixed floater placement --- rc.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rc.lua') diff --git a/rc.lua b/rc.lua index 4c25e6d..7d118cf 100644 --- a/rc.lua +++ b/rc.lua @@ -679,7 +679,11 @@ client.add_signal("manage", function (c, startup) -- Client placement if not startup then awful.client.setslave(c) - awful.placement.no_offscreen(c) + + if not c.size_hints.user_position + and not c.size_hints.program_position then + awful.placement.no_offscreen(c) + end end -- Honor size hints -- cgit v1.2.3