mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +00:00
LibGUI+WindowServer: Allow programatically minimizing windows
The backend methods in WindowServer already exist. This just adds the IPC plumbing to connect those methods to GUI::Window.
This commit is contained in:
parent
89b2ff72f7
commit
0d5209cee6
5 changed files with 41 additions and 0 deletions
|
@ -85,6 +85,9 @@ endpoint WindowServer
|
|||
is_maximized(i32 window_id) => (bool maximized)
|
||||
set_maximized(i32 window_id, bool maximized) =|
|
||||
|
||||
is_minimized(i32 window_id) => (bool minimized)
|
||||
set_minimized(i32 window_id, bool minimized) =|
|
||||
|
||||
invalidate_rect(i32 window_id, Vector<Gfx::IntRect> rects, bool ignore_occlusion) =|
|
||||
did_finish_painting(i32 window_id, Vector<Gfx::IntRect> rects) =|
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue