Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interfaces/desktop: allow access to Mutter IdleMonitor idle time (sna…
…pcore#13304) * interfaces/desktop: allow access to Mutter IdleMonitor idle time Whilst other methods on the Mutter IdleMonitor look potentially problematic, GetIdletime should be relatively safe to expose to all desktop applications - in particular this is used by firefox nowadays as seen in https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2037655 Signed-off-by: Alex Murray <alex.murray@canonical.com> * interfaces/desktop: support Mutter Idletime on Ubuntu Core Desktop Move this rule into desktopConnectedPlugAppArmor and change the peer label restriction to be a name instead so that it matches both classic and Ubuntu Core based desktops. Signed-off-by: Alex Murray <alex.murray@canonical.com> * interfaces/desktop: Use correct label for Mutter on both classic and UC Thanks @jhenstridge for the suggestion. Signed-off-by: Alex Murray <alex.murray@canonical.com> --------- Signed-off-by: Alex Murray <alex.murray@canonical.com> Co-authored-by: Miguel Pires <miguel.pires@canonical.com>
- Loading branch information