seat: move initial cursor center to dedicated function

This commit is contained in:
Jonathan GUILLOT 2023-11-08 17:22:06 +01:00 committed by Simon Ser
parent 4dc3cf80b2
commit efbf7c035b
3 changed files with 11 additions and 5 deletions

1
seat.h
View file

@ -91,5 +91,6 @@ struct cg_seat *seat_create(struct cg_server *server, struct wlr_backend *backen
void seat_destroy(struct cg_seat *seat);
struct cg_view *seat_get_focus(struct cg_seat *seat);
void seat_set_focus(struct cg_seat *seat, struct cg_view *view);
void seat_center_cursor(struct cg_seat *seat);
#endif