mirror of https://github.com/lcpz/lain.git
centerfair: added no cls[1] case
This commit is contained in:
parent
317fea4ca4
commit
a652b7065a
|
@ -95,7 +95,10 @@ function centerfair.arrange(p)
|
|||
g.height = wa.height - 2*useless_gap - 2
|
||||
g.x = offset_x + useless_gap + global_border
|
||||
g.y = offset_y + global_border
|
||||
|
||||
if cls[1] then
|
||||
cls[1]:geometry(g)
|
||||
end
|
||||
|
||||
-- Treat the other clients
|
||||
|
||||
|
|
Loading…
Reference in New Issue