|
|
@ -288,8 +288,11 @@ static void handle_seat_node_destroy(struct wl_listener *listener, void *data) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// The structure change might have caused it to move up to the top of
|
|
|
|
// The structure change might have caused it to move up to the top of
|
|
|
|
// the focus stack without sending focus notifications to the view
|
|
|
|
// the focus stack without sending focus notifications to the view
|
|
|
|
seat_send_focus(next_focus, seat);
|
|
|
|
if (seat_get_focus(seat) == next_focus) {
|
|
|
|
seat_set_focus(seat, next_focus);
|
|
|
|
seat_send_focus(next_focus, seat);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
seat_set_focus(seat, next_focus);
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// Setting focus_inactive
|
|
|
|
// Setting focus_inactive
|
|
|
|
focus = seat_get_focus_inactive(seat, &root->node);
|
|
|
|
focus = seat_get_focus_inactive(seat, &root->node);
|
|
|
|