Fix cursor handling on background focus

This commit is contained in:
project-repo 2023-05-18 19:53:46 +02:00
commit 498d69b4b6

1
seat.c
View file

@ -1043,6 +1043,7 @@ seat_set_focus(struct cg_seat *seat, struct cg_view *view) {
view_activate(prev_view, false);
}
wlr_seat_keyboard_clear_focus(wlr_seat);
process_cursor_motion(seat, -1);
return;
}