summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/WindowServer.ipc
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-01 11:23:54 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-01 11:23:54 +0100
commita5bbe3280d2a492f861cccb641b1b35b8b667b61 (patch)
treee2118c7656edbb216e4b344e3d6a6d397bb46690 /Userland/Services/WindowServer/WindowServer.ipc
parentc41d340983b803c1c12a58ac7884b243906bda36 (diff)
downloadserenity-a5bbe3280d2a492f861cccb641b1b35b8b667b61.zip
LibGUI+WindowServer: Don't use a WM IPC to initiate own window resize
The WM_* IPC messages are intended for "outsider" window management, not for a client's own windows. Make a separate StartWindowResize message for this. This was the only reason that every IPC client had to know its server side client ID.
Diffstat (limited to 'Userland/Services/WindowServer/WindowServer.ipc')
-rw-r--r--Userland/Services/WindowServer/WindowServer.ipc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Services/WindowServer/WindowServer.ipc b/Userland/Services/WindowServer/WindowServer.ipc
index 3b528228f1..a9dec18bdf 100644
--- a/Userland/Services/WindowServer/WindowServer.ipc
+++ b/Userland/Services/WindowServer/WindowServer.ipc
@@ -60,6 +60,8 @@ endpoint WindowServer = 2
GetWindowRectInMenubar(i32 window_id) => (Gfx::IntRect rect)
+ StartWindowResize(i32 window_id) =|
+
IsMaximized(i32 window_id) => (bool maximized)
InvalidateRect(i32 window_id, Vector<Gfx::IntRect> rects, bool ignore_occlusion) =|