Don't use handler_context in view_unmap

This commit is contained in:
emersion 2018-09-11 19:34:58 +02:00
parent 822b45f483
commit 8b263429cf

View file

@ -583,7 +583,10 @@ void view_unmap(struct sway_view *view) {
workspace_detect_urgent(ws);
}
cursor_send_pointer_motion(config->handler_context.seat->cursor, 0, true);
struct sway_seat *seat;
wl_list_for_each(seat, &input_manager->seats, link) {
cursor_send_pointer_motion(seat->cursor, 0, true);
}
transaction_commit_dirty();
view->surface = NULL;