1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

WindowServer+LibGUI: Allow changing a window's base size and increment

Previously it was only possible to change these window attributes when
creating a new window. This patch adds an IPC message that allows you
to change them at runtime.
This commit is contained in:
Andreas Kling 2020-02-24 19:23:57 +01:00
parent d0f5b43c2e
commit ab6f694905
5 changed files with 38 additions and 2 deletions

View file

@ -83,4 +83,6 @@ endpoint WindowServer = 2
StartDrag(String text, String data_type, String data, i32 bitmap_id, Gfx::Size bitmap_size) => (bool started)
SetSystemTheme(String theme_path, String theme_name) => (bool success)
SetWindowBaseSizeAndSizeIncrement(i32 window_id, Gfx::Size base_size, Gfx::Size size_increment) => ()
}