mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +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
Notes:
sideshowbarker
2024-07-19 15:46:53 +09:00
Author: https://github.com/awesomekling
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