Programmatically get a screenshot in wayland

Bobtedbob

New Member
Joined
May 9, 2021
Messages
1
Reaction score
1
Credits
12
Hi, are there any code samples of people being able to get a screenshot programmatically in c? This is specifically for Wayland, I have tried using X11 code but it fails and I haven't seen much around saying how to do this using the Wayland API.
 


Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,254
Reaction score
1,022
Credits
8,745
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top