Skip to content

Commit

Permalink
centerfair: added no cls[1] case
Browse files Browse the repository at this point in the history
  • Loading branch information
luke bonham committed Nov 8, 2014
1 parent bfa2615 commit ada3be2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion layout/centerfair.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
cls[1]:geometry(g)

if cls[1] then
cls[1]:geometry(g)
end

-- Treat the other clients

Expand Down

0 comments on commit ada3be2

Please sign in to comment.