diff --git a/src/shell.c b/src/shell.c index 0d386cf8..f102e9a7 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1866,7 +1866,8 @@ ping_timeout_handler(void *data) shsurf->unresponsive = 1; wl_list_for_each(seat, &shsurf->surface->compositor->seat_list, link) - if (seat->pointer->focus->surface == shsurf->surface) + if (seat->pointer->focus && + seat->pointer->focus->surface == shsurf->surface) set_busy_cursor(shsurf, seat->pointer); return 1;