mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +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:
parent
a00d154522
commit
2f7dc29ab7
5 changed files with 18 additions and 0 deletions
|
@ -915,6 +915,11 @@ bool Window::is_maximized() const
|
|||
return WindowServerConnection::the().is_maximized(m_window_id);
|
||||
}
|
||||
|
||||
void Window::set_maximized(bool maximized)
|
||||
{
|
||||
WindowServerConnection::the().async_set_maximized(m_window_id, maximized);
|
||||
}
|
||||
|
||||
void Window::schedule_relayout()
|
||||
{
|
||||
if (m_layout_pending)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue