B Bobtedbob New Member Joined May 9, 2021 Messages 1 Reaction score 1 Credits 12 May 9, 2021 #1 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.
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,567 Reaction score 1,284 Credits 11,462 May 9, 2021 #2 Have you read the official docs? Maybe there's something there https://wayland.freedesktop.org/
B brunoais New Member Joined Sep 22, 2021 Messages 1 Reaction score 0 Credits 7 Sep 22, 2021 #3 I've tried that but I can't find any reference about screenshooting. E.g. https://www.google.com/search?q=screenshot+site:https://wayland.freedesktop.org/ I tried many more variants and even searching for myself
I've tried that but I can't find any reference about screenshooting. E.g. https://www.google.com/search?q=screenshot+site:https://wayland.freedesktop.org/ I tried many more variants and even searching for myself