1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00

WindowServer: Relayout window buttons immediately on theme change

This commit is contained in:
Andreas Kling 2020-07-25 13:34:43 +02:00
parent 3ee6ed965f
commit e2f45a4b0e
3 changed files with 14 additions and 6 deletions

View file

@ -1388,6 +1388,7 @@ bool WindowManager::update_theme(String theme_path, String theme_name)
notified_clients.set(window.client());
}
}
window.frame().layout_buttons();
return IterationDecision::Continue;
});
MenuManager::the().did_change_theme();