|
|
|
@ -508,9 +508,11 @@ shell_init(struct wlsc_compositor *compositor) |
|
|
|
|
shell->long_press_source = |
|
|
|
|
wl_event_loop_add_timer(loop, long_press_handler, shell); |
|
|
|
|
|
|
|
|
|
wlsc_compositor_add_binding(compositor, KEY_SPACE, 0, MODIFIER_CTRL, |
|
|
|
|
wlsc_compositor_add_binding(compositor, KEY_LEFTMETA, 0, 0, |
|
|
|
|
home_key_binding, shell); |
|
|
|
|
wlsc_compositor_add_binding(compositor, KEY_ENTER, 0, MODIFIER_CTRL, |
|
|
|
|
wlsc_compositor_add_binding(compositor, KEY_RIGHTMETA, 0, 0, |
|
|
|
|
home_key_binding, shell); |
|
|
|
|
wlsc_compositor_add_binding(compositor, KEY_MENU, 0, 0, |
|
|
|
|
menu_key_binding, shell); |
|
|
|
|
|
|
|
|
|
compositor->shell = &shell->shell; |
|
|
|
|