summaryrefslogtreecommitdiffstats
path: root/clients
AgeCommit message (Collapse)AuthorFilesLines
2021-12-21agl-compositor:Add NULL check after zalloc in screenshooter.cAndyZhou1-0/+2
There's no NULL check in zalloc. xdg_output is alloced by zalloc. Add a NULL check after zalloc and before use xdg_output. Bug-AGL: SPEC-4178 Signed-off-by: ZhouMingying <zhoumy@cn.fujitsu.com> Change-Id: Idc2e3fd6be823c063a84868ba37b26ffe90db6fc
2021-09-03clients/screenshooter: Fix taking screenshot on multiple outputsMarius Vlad1-18/+14
Turns out we were re-initializing the buffers min/max values each time for each output, thus not computing the entire combined output. This is a trivial fix. Bug-AGL: SPEC-4064 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie0c7490c902273b42c81e09cd08e480f30a654c0
2020-09-30client/screenshooter: Client for taking screenshotsMarius Vlad2-0/+697
The client allows to take screenshots of all outputs, a specific output (making use of xdg_output_manager interface) or just listing outputs. Bug-AGL: SPEC-3580 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Idd60d4892adf4c2ea493477421b6e5623e0ca1f0