shell: Don't assign keyboard focus for seats without keyboard

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73570
dev
Kristian Høgsberg 11 years ago
parent e4450f9123
commit e61d2f4812
  1. 3
      desktop-shell/shell.c

@ -665,6 +665,9 @@ restore_focus_state(struct desktop_shell *shell, struct workspace *ws)
struct weston_surface *surface;
wl_list_for_each_safe(state, next, &ws->focus_list, link) {
if (state->seat->keyboard == NULL)
continue;
surface = state->keyboard_focus;
weston_keyboard_set_focus(state->seat->keyboard, surface);

Loading…
Cancel
Save