exposay: centralize surfaces of the last row when we don't have enough surfaces
authorLeandro Ribeiro <leandrohr@riseup.net>
Fri, 24 Jan 2020 22:57:39 +0000 (19:57 -0300)
committerDaniel Stone <daniels@collabora.com>
Wed, 26 Aug 2020 14:10:50 +0000 (14:10 +0000)
commit82b4d4294319075938ad5cdfedaa19ccc57aa9ec
tree2ace1c08dad228bb57aadcc23be5bb72490b5efc
parent55b4b47ec1824c7a4b51434e01c8a8bd5dbf8d4b
exposay: centralize surfaces of the last row when we don't have enough surfaces

The exposay grid is square, but we don't always have enough surfaces
to fill all the columns of the last row. The code to centralize
the surfaces of the last row is not working.

Fix the code that centralizes the surfaces in the last row, making
it more visually pleasant.

Signed-off-by: Leandro Ribeiro <leandrohr@riseup.net>
desktop-shell/exposay.c