[RFC PATCH 09/12] tablet-shell: key binding conflict

juan.j.zhao at linux.intel.com juan.j.zhao at linux.intel.com
Fri Aug 3 04:22:15 PDT 2012


From: Ning Tang <tecton69 at gmail.com>

Remove confliction in key shortcut, so now mod+R(record video) can
 be used in tablet-shell.

Signed-off-by: Tang Ning <tecton69 at gmail.com>
---
 src/tablet-shell.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/tablet-shell.c b/src/tablet-shell.c
index 55522be..774488b 100644
--- a/src/tablet-shell.c
+++ b/src/tablet-shell.c
@@ -1084,8 +1084,9 @@ shell_init(struct weston_compositor *compositor)
 	shell->long_press_source =
 		wl_event_loop_add_timer(loop, long_press_handler, shell);
 
-	weston_compositor_add_key_binding(compositor, KEY_LEFTMETA, 0,
-					  home_key_binding, shell);
+	/* conflict to wcap record shortcut */
+// 	weston_compositor_add_key_binding(compositor, KEY_LEFTMETA, 0,
+// 					  home_key_binding, shell);
 	weston_compositor_add_key_binding(compositor, KEY_RIGHTMETA, 0,
 					  home_key_binding, shell);
 	weston_compositor_add_key_binding(compositor, KEY_LEFTMETA,
-- 
1.7.11



More information about the wayland-devel mailing list