cursor: reload cursor on Reconfigure

This gives instant feedback when changing cursor theme or size.
It only works for server side cursors or clients using the
cursor-shape protocol.

Fixes: #1619
This commit is contained in:
Consolatis 2024-05-03 14:18:43 +02:00 committed by Johan Malm
parent 4b6efb7307
commit 8d4f295440
3 changed files with 11 additions and 3 deletions

View file

@ -119,7 +119,7 @@ void cursor_update_focus(struct server *server);
void cursor_update_image(struct seat *seat);
void cursor_init(struct seat *seat);
void cursor_load(struct seat *seat);
void cursor_reload(struct seat *seat);
void cursor_emulate_move_absolute(struct seat *seat,
struct wlr_input_device *device,
double x, double y, uint32_t time_msec);