diff --git a/Userland/Services/WindowServer/ConnectionFromClient.cpp b/Userland/Services/WindowServer/ConnectionFromClient.cpp index 34bf167b78..3b99e581f7 100644 --- a/Userland/Services/WindowServer/ConnectionFromClient.cpp +++ b/Userland/Services/WindowServer/ConnectionFromClient.cpp @@ -90,9 +90,9 @@ void ConnectionFromClient::notify_about_new_screen_rects() async_screen_rects_changed(Screen::rects(), Screen::main().index(), wm.window_stack_rows(), wm.window_stack_columns()); } -void ConnectionFromClient::create_menu(i32 menu_id, DeprecatedString const& menu_title) +void ConnectionFromClient::create_menu(i32 menu_id, DeprecatedString const& name) { - auto menu = Menu::construct(this, menu_id, menu_title); + auto menu = Menu::construct(this, menu_id, name); m_menus.set(menu_id, move(menu)); } diff --git a/Userland/Services/WindowServer/WindowServer.ipc b/Userland/Services/WindowServer/WindowServer.ipc index e8e8b7b4bc..56c649c863 100644 --- a/Userland/Services/WindowServer/WindowServer.ipc +++ b/Userland/Services/WindowServer/WindowServer.ipc @@ -4,7 +4,7 @@ endpoint WindowServer { - create_menu(i32 menu_id, [UTF8] DeprecatedString menu_title) =| + create_menu(i32 menu_id, [UTF8] DeprecatedString name) =| destroy_menu(i32 menu_id) =| add_menu(i32 window_id, i32 menu_id) =|