workspaces: react to Reconfigure

Changes in `<desktops><names>` or `<desktop><number="" prefix="">` required
restarting labwc to take effect.

This commit adds `workspaces_reconfigure()` to update `server->workspaces` on
Reconfigure.
This commit is contained in:
tokyo4j 2024-04-17 18:09:01 +09:00 committed by Hiroaki Yamamoto
parent d64e3915a3
commit bc0174d849
3 changed files with 83 additions and 4 deletions

View file

@ -63,6 +63,7 @@ reload_config_and_theme(struct server *server)
regions_reconfigure(server);
resize_indicator_reconfigure(server);
kde_server_decoration_update_default();
workspaces_reconfigure(server);
}
static int