From fc84076f1841888b8a89f399dd384191de5a9a7d Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 25 Mar 2021 21:42:42 +0100 Subject: [PATCH] WindowServer: Remove SetApplicationMenubar IPC message --- Userland/Services/WindowServer/ClientConnection.cpp | 5 ----- Userland/Services/WindowServer/ClientConnection.h | 1 - Userland/Services/WindowServer/WindowServer.ipc | 1 - 3 files changed, 7 deletions(-) diff --git a/Userland/Services/WindowServer/ClientConnection.cpp b/Userland/Services/WindowServer/ClientConnection.cpp index f11c0945d7..1c67bd6166 100644 --- a/Userland/Services/WindowServer/ClientConnection.cpp +++ b/Userland/Services/WindowServer/ClientConnection.cpp @@ -144,11 +144,6 @@ OwnPtr ClientConnection::handle(con return make(); } -OwnPtr ClientConnection::handle(const Messages::WindowServer::SetApplicationMenubar&) -{ - return make(); -} - OwnPtr ClientConnection::handle(const Messages::WindowServer::SetWindowMenubar& message) { RefPtr window; diff --git a/Userland/Services/WindowServer/ClientConnection.h b/Userland/Services/WindowServer/ClientConnection.h index b8b3e9c282..87fd624c0b 100644 --- a/Userland/Services/WindowServer/ClientConnection.h +++ b/Userland/Services/WindowServer/ClientConnection.h @@ -104,7 +104,6 @@ private: virtual OwnPtr handle(const Messages::WindowServer::CreateMenu&) override; virtual OwnPtr handle(const Messages::WindowServer::DestroyMenu&) override; virtual OwnPtr handle(const Messages::WindowServer::AddMenuToMenubar&) override; - virtual OwnPtr handle(const Messages::WindowServer::SetApplicationMenubar&) override; virtual OwnPtr handle(const Messages::WindowServer::SetWindowMenubar&) override; virtual OwnPtr handle(const Messages::WindowServer::AddMenuItem&) override; virtual OwnPtr handle(const Messages::WindowServer::AddMenuSeparator&) override; diff --git a/Userland/Services/WindowServer/WindowServer.ipc b/Userland/Services/WindowServer/WindowServer.ipc index c0dd477e0d..00f147b49e 100644 --- a/Userland/Services/WindowServer/WindowServer.ipc +++ b/Userland/Services/WindowServer/WindowServer.ipc @@ -9,7 +9,6 @@ endpoint WindowServer = 2 DestroyMenu(i32 menu_id) => () AddMenuToMenubar(i32 menubar_id, i32 menu_id) => () - SetApplicationMenubar(i32 menubar_id) => () SetSystemMenu(i32 menu_id) => ()