|
|
|
@ -48,6 +48,7 @@ static void keyboard_key_notify(struct wl_listener *listener, void *data) {
|
|
|
|
|
} else if (key_state == WLR_KEY_PRESSED &&
|
|
|
|
|
sym >= XKB_KEY_XF86Switch_VT_1 &&
|
|
|
|
|
sym <= XKB_KEY_XF86Switch_VT_12) {
|
|
|
|
|
if (wlr_backend_is_multi(kbstate->compositor->backend)) {
|
|
|
|
|
struct wlr_session *session =
|
|
|
|
|
wlr_multi_get_session(kbstate->compositor->backend);
|
|
|
|
|
if (session) {
|
|
|
|
@ -55,6 +56,7 @@ static void keyboard_key_notify(struct wl_listener *listener, void *data) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
xkb_state_update_key(kbstate->xkb_state, keycode,
|
|
|
|
|
event->state == WLR_KEY_PRESSED ? XKB_KEY_DOWN : XKB_KEY_UP);
|
|
|
|
|
keyboard_led_update(kbstate);
|
|
|
|
|