[PATCH v2 0/3] Make important key bindings easily on-and-off-able

2016-01-12 Thread Bob Ham
"allow-zap" instead of "zap", with corresponding variable name changes. A minor style change for an if statement. Bob Ham (3): compositor-{drm,fbdev,rpi}: Make VT switching configurable desktop-shell: Make zapping configurable desktop-

[PATCH v2 2/3] desktop-shell: Make zapping configurable

2016-01-12 Thread Bob Ham
Add a new boolean weston.ini option, "allow-zap" to enable or disable the Ctrl-Alt-Backspace key combination. Signed-off-by: Bob Ham Reviewed-by: Derek Foreman --- desktop-shell/shell.c | 14 +++--- desktop-shell/shell.h | 1 + man/weston.ini.man| 4 3 files c

[PATCH v2 1/3] compositor-{drm, fbdev, rpi}: Make VT switching configurable

2016-01-12 Thread Bob Ham
Add a new boolean weston.ini option, "vt-switching" to enable or disable Ctrl-Alt-Fn key combinations. Signed-off-by: Bob Ham Reviewed-by: Derek Foreman --- man/weston.ini.man | 6 ++ src/compositor-drm.c | 15 +-- src/compositor-fbdev.c | 17 ++--

[PATCH v2 3/3] desktop-shell: Allow binding-modifier weston.ini option to be none

2016-01-12 Thread Bob Ham
Allow the binding-modifier option in weston.ini to take a value of "none", meaning that none of the usual Super+Tab, Super+K, Super+Fn, etc. key bindings will be enabled. Signed-off-by: Bob Ham Reviewed-by: Derek Foreman --- desktop-shell/shell.c | 26 ++---

Re: [PATCH 2/3] desktop-shell: Make zapping configurable

2016-01-12 Thread Bob Ham
On Mon, 2016-01-11 at 12:04 -0600, Derek Foreman wrote: > On 11/01/16 09:41 AM, Bob Ham wrote: > > + weston_config_section_get_bool(section, > > + "zap", &zap, true); > > I think "allow_zap" would be be

Re: [PATCH 1/3] compositor-{drm, fbdev, rpi}: Make VT switching configurable

2016-01-12 Thread Bob Ham
On Mon, 2016-01-11 at 11:58 -0600, Derek Foreman wrote: > On 11/01/16 09:41 AM, Bob Ham wrote: > > diff --git a/src/launcher-bindings.h b/src/launcher-bindings.h > > new file mode 100644 > Couldn't these just go into launcher-util? They could, yes. > If we really need

[PATCH 2/3] desktop-shell: Make zapping configurable

2016-01-11 Thread Bob Ham
Add a new boolean weston.ini option, "zap" to enable or disable the Ctrl-Alt-Backspace key combination. Signed-off-by: Bob Ham --- desktop-shell/shell.c | 14 +++--- desktop-shell/shell.h | 1 + man/weston.ini.man| 4 3 files changed, 16 insertions(+), 3 deletion

[PATCH 0/3] Make important key bindings easily on-and-off-able

2016-01-11 Thread Bob Ham
Allow various sets of key combinations, most importantly Ctrl-Alt-Fn and Ctrl-Alt-Backspace to be disabled from weston.ini. Bob Ham (3): compositor-{drm,fbdev,rpi}: Make VT switching configurable desktop-shell: Make zapping configurable desktop-shell: Allow binding-modifier weston.ini

[PATCH 1/3] compositor-{drm, fbdev, rpi}: Make VT switching configurable

2016-01-11 Thread Bob Ham
Add a new boolean weston.ini option, "vt-switching" to enable or disable Ctrl-Alt-Fn key combinations. Signed-off-by: Bob Ham --- Makefile.am | 4 +++- man/weston.ini.man | 6 ++ src/compositor-drm.c| 16 ++-- src/compositor-fbd

[PATCH 3/3] desktop-shell: Allow binding-modifier weston.ini option to be none

2016-01-11 Thread Bob Ham
Allow the binding-modifier option in weston.ini to take a value of "none", meaning that none of the usual Super+Tab, Super+K, Super+Fn, etc. key bindings will be enabled. Signed-off-by: Bob Ham --- desktop-shell/shell.c | 26 ++ man/weston.ini.man| 2 +