scrot
scrot copied to clipboard
xdg-desktop-portal support
Add Screenshot portal support so that it would also work on Wayland.
Being able to take screenshots of Wayland and also Haiku, Windows, MacOS is one of my personal interests, but that would require significant refactoring right now. Most of scrot's code is heavily tied to Xorg.
Also, isn't xdg-desktop-portal specific to flatpak and such?
I would love for scrot to work on Wayland as well, however, I'm against scrot being changed for/with things that are explicit to containerized applications.
P.S. Feel free to correct me if xdg-desktop-portal isn't a flatpak thing and it's not exclusive to containerized/sandboxed applications.
Also, isn't xdg-desktop-portal specific to flatpak and such?
No, it's not.
Also, isn't xdg-desktop-portal specific to flatpak and such?
No, it's not.
I think you are right. Apparently it has its uses in Wayland, but separately from that, in containerized applications as well. I'm guessing because Wayland is not that widespread yet, when you search for xdg-desktop-portal, mostly stuff about its usage with containerized applications comes up.