Add xwayland activate and fix EGL bug

This commit is contained in:
Drew DeVault 2017-09-28 09:11:16 -04:00
parent 906a816abf
commit 220a6e9bf6
8 changed files with 36 additions and 4 deletions

View file

@ -100,7 +100,9 @@ static void do_cursor_button_press(struct roots_input *input,
input->input_events_idx = (i + 1)
% (sizeof(input->input_events) / sizeof(input->input_events[0]));
set_view_focus(input, desktop, view);
wlr_seat_keyboard_enter(input->wl_seat, view->wlr_surface);
if (view) {
wlr_seat_keyboard_enter(input->wl_seat, view->wlr_surface);
}
break;
}
}