diff options
author | MacDue <macdue@dueutil.tech> | 2023-03-26 21:22:45 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-03-26 21:55:21 +0100 |
commit | 952f6bbb2ad00f18c10f1d5b3623fc878edb38b3 (patch) | |
tree | a5fe947646b670ef398eeae7dd02b04bc580eb8c /Userland | |
parent | 9dbfba0879823ac09aaac7c1d318b5b27bd53ef2 (diff) | |
download | serenity-952f6bbb2ad00f18c10f1d5b3623fc878edb38b3.zip |
WindowServer: Rename menu_title to name in IPC API
This is referred to as the name everywhere else, so we should be
consistent here.
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Services/WindowServer/ConnectionFromClient.cpp | 4 | ||||
-rw-r--r-- | Userland/Services/WindowServer/WindowServer.ipc | 2 |
2 files changed, 3 insertions, 3 deletions
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) =| |