mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:28:13 +00:00
WindowServer: Always include the system menu in the menubar.
Solve this by adding a for_each_active_menubar_menu() iteration helper that automagically visits the system menu before the current menubar's menus.
This commit is contained in:
parent
15b4c9f9f1
commit
5cd588a497
2 changed files with 11 additions and 3 deletions
|
@ -75,6 +75,7 @@ private:
|
|||
|
||||
void set_active_window(WSWindow*);
|
||||
|
||||
template<typename Callback> void for_each_active_menubar_menu(Callback);
|
||||
void close_current_menu();
|
||||
WSMenu& create_menu(String&& name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue