xwm: Set xcursor variables in Xresources db

This commit is contained in:
Victoria Brekenfeld 2026-01-09 18:34:51 +01:00 committed by Victoria Brekenfeld
parent 612ff2f523
commit e6a3a3a9c9
4 changed files with 97 additions and 30 deletions

View file

@ -4711,10 +4711,6 @@ impl Shell {
xdg_activation_state: &XdgActivationState,
workspace_state: &mut WorkspaceUpdateGuard<'_, State>,
) {
if cosmic::icon_theme::default() != toolkit.icon_theme {
cosmic::icon_theme::set_default(toolkit.icon_theme.clone());
}
let mut container = cosmic::config::COSMIC_TK.write().unwrap();
if *container != toolkit {
*container = toolkit;