MetaPlugin: add a UI hook for confirming display changes

Desktop / GNOME / Mutter - Giovanni Campagna [redhat.com] - 17 August 2013 17:47 UTC

We want to show a dialog when a display change happens from the control center. To do so, add a new vfunc to MetaPlugin and call it when a configuration change is requested via DBus.

https://bugzilla.gnome.org/show_bug.cgi?id=705670

5086626 MetaPlugin: add a UI hook for confirming display changes
src/compositor/meta-plugin-manager.c | 24 +++++++++++++++++++
src/compositor/meta-plugin-manager.h | 2 ++
src/compositor/meta-plugin.c | 11 +++++++++
src/compositor/plugins/default.c | 33 +++++++++++++++++++++++++
src/core/monitor-private.h | 3 +++
src/core/monitor.c | 44 ++++++++++++++++++++++++++++++----
src/core/util.c | 9 +++++--
src/meta/meta-plugin.h | 20 ++++++++++++++++
8 files changed, 139 insertions(+), 7 deletions(-)

Upstream: git.gnome.org


  • Share