exposay: move constant value calculation out of loop
authorLeandro Ribeiro <leandrohr@riseup.net>
Mon, 30 Dec 2019 22:11:51 +0000 (19:11 -0300)
committerDaniel Stone <daniels@collabora.com>
Wed, 26 Aug 2020 14:10:50 +0000 (14:10 +0000)
commitfd874ff53379ccdc6584fb4412e69889f94e186f
tree5d78893557ec9f3a5db7d87cdf7fd72178faae35
parent67b382ccdc42ceb2e52e4de59b4de76e7a68aa09
exposay: move constant value calculation out of loop

In exposay_layout(), int pad is being calculated within the
loop. This is unnecessary, as its value is constant. Move it
out of the loop.

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