diff options
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/WindowServer/Window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/Window.cpp b/Userland/Services/WindowServer/Window.cpp index 01dfe74c67..e9ec0c5456 100644 --- a/Userland/Services/WindowServer/Window.cpp +++ b/Userland/Services/WindowServer/Window.cpp @@ -646,6 +646,8 @@ void Window::ensure_window_menu() menubar_visibility_item->set_checkable(true); m_window_menu->add_item(move(menubar_visibility_item)); + m_window_menu->add_item(make<MenuItem>(*m_window_menu, MenuItem::Type::Separator)); + auto close_item = make<MenuItem>(*m_window_menu, (unsigned)WindowMenuAction::Close, "&Close"); m_window_menu_close_item = close_item.ptr(); m_window_menu_close_item->set_icon(&close_icon()); |