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

@ -587,7 +587,7 @@ seat_reconfigure(struct server *server)
{
struct seat *seat = &server->seat;
struct input *input;
cursor_load(seat);
cursor_reload(seat);
overlay_reconfigure(seat);
wl_list_for_each(input, &seat->inputs, link) {
switch (input->wlr_input_device->type) {