From 0b33e4c9ff85b8653fee0d5503242322119f25ed Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sat, 1 Nov 2014 18:53:03 -0400 Subject: [PATCH] rc.lua: Prevent clients from being lost on RANRD changes --- awesomerc.lua.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 2d61b31b..ce647de8 100755 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -383,6 +383,9 @@ client.connect_signal("manage", function (c) awful.placement.no_overlap(c) awful.placement.no_offscreen(c) end + elseif not c.size_hints.user_position and not c.size_hints.program_position then + -- Prevent clients from being unreachable after screen count change + awful.placement.no_offscreen(c) end local titlebars_enabled = false