keybindings: Add a switch-monitor builtin keybinding

Desktop / GNOME / Mutter - Rui Matos [gmail.com] - 19 July 2017 05:18 EDT

Moved from g-s-d's media keys plugin, where it was called "video-out", since it requires changing the current monitor configuration and we want to remove the old DBus API.

This implementation is intentionally simple and not really meant for more than debugging and validating the various configurations. A better user experience will be introduced in gnome-shell with a custom keybinding handler.

The default value includes P in addition to the standard keysym for historical reasons.

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

7e330bd keybindings: Add a switch-monitor builtin keybinding
data/org.gnome.mutter.gschema.xml.in | 5 +++++
src/core/keybindings.c | 28 ++++++++++++++++++++++++++++
src/meta/prefs.h | 1 +
3 files changed, 34 insertions(+)

Upstream: git.gnome.org


  • Share