mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 22:32:12 +00:00
WindowServer: Remove "system menu" concept from WindowServer
This commit is contained in:
parent
619a223800
commit
327866520a
9 changed files with 19 additions and 148 deletions
|
@ -122,7 +122,7 @@ int Menu::content_width() const
|
|||
if (widest_shortcut)
|
||||
widest_item += padding_between_text_and_shortcut() + widest_shortcut;
|
||||
|
||||
return max(widest_item, rect_in_global_menubar().width()) + horizontal_padding() + frame_thickness() * 2;
|
||||
return max(widest_item, rect_in_window_menubar().width()) + horizontal_padding() + frame_thickness() * 2;
|
||||
}
|
||||
|
||||
void Menu::redraw()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue