diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-02 10:42:25 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-02 10:43:39 +0200 |
commit | cc6db526a6e595918a3e43312df8f724275e4e6a (patch) | |
tree | 969e3934810f3a1da016d5a2a08f595aea72242f /Userland/Services/WindowServer/WindowManagerClient.ipc | |
parent | 8af7cda17ace1b9d0fdf5ca025f27d7d520f5287 (diff) | |
download | serenity-cc6db526a6e595918a3e43312df8f724275e4e6a.zip |
WindowServer+LibGUI+Taskbar: Store window progress as Optional<int>
We were previously using the magical constant -1 to signify that a
window had no progress state. Be more explicit an use an Optional. :^)
Diffstat (limited to 'Userland/Services/WindowServer/WindowManagerClient.ipc')
-rw-r--r-- | Userland/Services/WindowServer/WindowManagerClient.ipc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/WindowManagerClient.ipc b/Userland/Services/WindowServer/WindowManagerClient.ipc index facda30d8e..b5fd250f6b 100644 --- a/Userland/Services/WindowServer/WindowManagerClient.ipc +++ b/Userland/Services/WindowServer/WindowManagerClient.ipc @@ -1,7 +1,7 @@ endpoint WindowManagerClient { WindowRemoved(i32 wm_id, i32 client_id, i32 window_id) =| - WindowStateChanged(i32 wm_id, i32 client_id, i32 window_id, i32 parent_client_id, i32 parent_window_id, bool is_active, bool is_minimized, bool is_modal, bool is_frameless, i32 window_type, [UTF8] String title, Gfx::IntRect rect, i32 progress) =| + WindowStateChanged(i32 wm_id, i32 client_id, i32 window_id, i32 parent_client_id, i32 parent_window_id, bool is_active, bool is_minimized, bool is_modal, bool is_frameless, i32 window_type, [UTF8] String title, Gfx::IntRect rect, Optional<i32> progress) =| WindowIconBitmapChanged(i32 wm_id, i32 client_id, i32 window_id, Gfx::ShareableBitmap bitmap) =| WindowRectChanged(i32 wm_id, i32 client_id, i32 window_id, Gfx::IntRect rect) =| AppletAreaSizeChanged(i32 wm_id, Gfx::IntSize size) =| |