@ -1064,15 +1064,21 @@ kiosk_shell_touch_to_activate_binding(struct weston_touch *touch,
static void
kiosk_shell_add_bindings ( struct kiosk_shell * shell )
{
weston_compositor_add_button_binding ( shell - > compositor , BTN_LEFT , 0 ,
uint32_t mod = 0 ;
mod = weston_shell_get_binding_modifier ( shell - > config , MODIFIER_SUPER ) ;
weston_compositor_add_button_binding ( shell - > compositor , BTN_LEFT , mod ,
kiosk_shell_click_to_activate_binding ,
shell ) ;
weston_compositor_add_button_binding ( shell - > compositor , BTN_RIGHT , 0 ,
weston_compositor_add_button_binding ( shell - > compositor , BTN_RIGHT , mod ,
kiosk_shell_click_to_activate_binding ,
shell ) ;
weston_compositor_add_touch_binding ( shell - > compositor , 0 ,
weston_compositor_add_touch_binding ( shell - > compositor , mod ,
kiosk_shell_touch_to_activate_binding ,
shell ) ;
weston_install_debug_key_binding ( shell - > compositor , mod ) ;
}
static void