summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/AppletManager.cpp
diff options
context:
space:
mode:
authorsin-ack <sin-ack@users.noreply.github.com>2021-04-14 21:38:53 +0000
committerAndreas Kling <kling@serenityos.org>2021-04-17 13:06:25 +0200
commitaa56f9a1e0f1763c02b24de00c892a7ff475d1f1 (patch)
treed360ff66acec5fe0dc2a71d9d361fe80944e6ff6 /Userland/Services/WindowServer/AppletManager.cpp
parent139c04a6e5924697c79a71e7b58d19fb727118fd (diff)
downloadserenity-aa56f9a1e0f1763c02b24de00c892a7ff475d1f1.zip
LibGUI+WindowServer: Separate window manager IPC from regular IPC
With this patch the window manager related functionality is split out onto a new endpoint pair named WindowManagerServer/Client. This allows window manager functionality to be potentially privilege separated in the future. To this end, a new client named WMConnectionClient is used to maintain a window manager connection. When a process connects to the endpoint and greets the WindowServer as a window manager (via Window::make_window_manager(int)), they're subscribed to the events they requested via the WM event mask. This patch also removes the hardcoding of the Taskbar WindowType to receive WM events automatically. However, being a window manager still requires having an active window, at the moment.
Diffstat (limited to 'Userland/Services/WindowServer/AppletManager.cpp')
-rw-r--r--Userland/Services/WindowServer/AppletManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/AppletManager.cpp b/Userland/Services/WindowServer/AppletManager.cpp
index f70c79021b..fc924a93d7 100644
--- a/Userland/Services/WindowServer/AppletManager.cpp
+++ b/Userland/Services/WindowServer/AppletManager.cpp
@@ -155,7 +155,7 @@ void AppletManager::relayout()
repaint();
- WindowManager::the().tell_wm_listeners_applet_area_size_changed(rect.size());
+ WindowManager::the().tell_wms_applet_area_size_changed(rect.size());
}
void AppletManager::repaint()