kiosk-shell/kiosk-shell.c 410:Does it need to process the other situations?
There is a "if...else if" case in kiosk-shell.c 406 line, the code is: if (keyboard && wl_list_empty(&shseat->keyboard_focus_listener.link)) { wl_signal_add(&keyboard->focus_signal, &shseat->keyboard_focus_listener); } else if (!keyboard) { wl_list_remove(&shseat->keyboard_focus_listener.link); wl_list_init(&shseat->keyboard_focus_listener.link); } I want to ask if it need an else case after the "else if" to process the other situations?