rc.lua: Prevent clients from being lost on RANRD changes
This commit is contained in:
parent
daeb9aee19
commit
0b33e4c9ff
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue