mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
WindowServer: Return richer result when changing resolutions
Now we return a boolean value from set_resolution() in the Compositor and Screen class. Also, the WindowServer IPC now returns a richer result after changing the resolution, which can be used in clients later.
This commit is contained in:
parent
8dbd1cb9fb
commit
151f32b827
8 changed files with 46 additions and 21 deletions
|
@ -74,7 +74,7 @@ endpoint WindowServer = 2
|
|||
DismissMenu(i32 menu_id) => ()
|
||||
|
||||
AsyncSetWallpaper(String path) =|
|
||||
SetResolution(Gfx::Size resolution) => ()
|
||||
SetResolution(Gfx::Size resolution) => (bool success, Gfx::Size resolution)
|
||||
SetWindowIconBitmap(i32 window_id, i32 icon_buffer_id, Gfx::Size icon_size) => ()
|
||||
|
||||
GetWallpaper() => (String path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue