1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

LibGUI/WindowServer: Add set_maximized IPC call

Add an IPC call to enable the client to manually maximize it's own
window.
This commit is contained in:
Marcus Nilsson 2021-06-06 21:50:06 +02:00 committed by Andreas Kling
parent a00d154522
commit 2f7dc29ab7
5 changed files with 18 additions and 0 deletions

View file

@ -104,6 +104,7 @@ private:
virtual void set_window_title(i32, String const&) override;
virtual Messages::WindowServer::GetWindowTitleResponse get_window_title(i32) override;
virtual Messages::WindowServer::IsMaximizedResponse is_maximized(i32) override;
virtual void set_maximized(i32, bool) override;
virtual void start_window_resize(i32) override;
virtual Messages::WindowServer::SetWindowRectResponse set_window_rect(i32, Gfx::IntRect const&) override;
virtual Messages::WindowServer::GetWindowRectResponse get_window_rect(i32) override;