Am 2013-12-16 00:52, schrieb Timothée Ravier:
polkit could also be used for the whole process of deciding whether a
screenshot action is allowed or not:

* The compositor would first request authorization for the screenshot
action to polkit;
* polkit would check if the action is legitimate using the authorization
rules defined on the system;
* If no rules matches, a dialog requesting confirmation by the user is
displayed;
* If the polkit answer is positive, the compositor would launch the
screenshot application.

Adding rules is a little bit more difficult in this case, but this has
the advantage of reusing an already developed architecture.

Cheers

Sounds like a good plan but I still don't understand why the application
must be started by the compositor. What exactly is the benefit?
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to