mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:27:35 +00:00
WindowServer: Redraw all menus on system theme change
This commit is contained in:
parent
4b6fba1e4c
commit
b31b904ad0
2 changed files with 15 additions and 0 deletions
|
@ -84,6 +84,14 @@ public:
|
|||
break;
|
||||
}
|
||||
}
|
||||
template<typename Callback>
|
||||
void for_each_menu(Callback callback)
|
||||
{
|
||||
for (auto& it : m_menus) {
|
||||
if (callback(*it.value) == IterationDecision::Break)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void notify_display_link(Badge<Compositor>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue