summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/WindowManagerClient.ipc
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-02 10:42:25 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-02 10:43:39 +0200
commitcc6db526a6e595918a3e43312df8f724275e4e6a (patch)
tree969e3934810f3a1da016d5a2a08f595aea72242f /Userland/Services/WindowServer/WindowManagerClient.ipc
parent8af7cda17ace1b9d0fdf5ca025f27d7d520f5287 (diff)
downloadserenity-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.ipc2
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) =|