The code using org.gnome.Shell.Screenshot does not work anymore, because GNOME Shell screenshot API no longer allowed. I receive "AccessDenied: Screenshot is not allowed."
Can my desktop application get any permission to create a screenshot? Should I write Wayland compositor? Is there any ideas?
For example, macOS shows security alert with Allow/Deny buttons.