From aa56f9a1e0f1763c02b24de00c892a7ff475d1f1 Mon Sep 17 00:00:00 2001 From: sin-ack Date: Wed, 14 Apr 2021 21:38:53 +0000 Subject: 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. --- Base/etc/SystemServer.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Base/etc/SystemServer.ini') diff --git a/Base/etc/SystemServer.ini b/Base/etc/SystemServer.ini index 728b0c1c22..52cc8207bf 100644 --- a/Base/etc/SystemServer.ini +++ b/Base/etc/SystemServer.ini @@ -63,7 +63,7 @@ User=anon BootModes=text,graphical [WindowServer] -Socket=/tmp/portal/window +Socket=/tmp/portal/window,/tmp/portal/wm SocketPermissions=660 Priority=high KeepAlive=1 -- cgit v1.2.3