client/screenshooter: Compute the width/height for a single output 82/27082/1
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 13 Jan 2022 17:29:21 +0000 (19:29 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 13 Jan 2022 19:37:23 +0000 (21:37 +0200)
commit2ee86feebc8888d10973a0d3dce1fdd25cd2e6d6
tree7757e47077901a7a22556ee50d3685f9133c9d5f
parent838df78fe94e5bbb653bb123b2cb0aac1db0bfb1
client/screenshooter: Compute the width/height for a single output

We're missing determining the buffers dimenions, so this basically adds
that.  Turns out this was introduced w/ commit 'clients/screenshooter:
Fix taking screenshot on multiple outputs'. Still clueless on how this
worked in CI, unless we're using `-a' to take a screenshot on all
outputs.

Bug-AGL: SPEC-4217

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I9a849457e9ca40f0b36e7249d9142b32ca3114ab
clients/screenshooter.c