rc.lua: Prevent clients from being lost on RANRD changes

This commit is contained in:
Emmanuel Lepage Vallee 2014-11-01 18:53:03 -04:00
parent daeb9aee19
commit 0b33e4c9ff
1 changed files with 3 additions and 0 deletions

View File

@ -383,6 +383,9 @@ client.connect_signal("manage", function (c)
awful.placement.no_overlap(c) awful.placement.no_overlap(c)
awful.placement.no_offscreen(c) awful.placement.no_offscreen(c)
end 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 end
local titlebars_enabled = false local titlebars_enabled = false