Closed danirabbit closed 2 years ago
Instead of having a sandbox hole to access the screenshot interface directly, your app should use the screenshot portal to request screenshots. You can use LibPortal to accomplish this: https://valadoc.org/libportal/Xdp.Portal.take_screenshot.html
Thanks a lot @danrabbit , Closing the issue as it is resolved with this pull request https://github.com/RajSolai/TextSnatcher/pull/4
Instead of having a sandbox hole to access the screenshot interface directly, your app should use the screenshot portal to request screenshots. You can use LibPortal to accomplish this: https://valadoc.org/libportal/Xdp.Portal.take_screenshot.html