mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
aa56f9a1e0
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.
161 lines
2.6 KiB
INI
161 lines
2.6 KiB
INI
[ProtocolServer]
|
|
Socket=/tmp/portal/protocol
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
User=protocol
|
|
BootModes=text,graphical,self-test
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[WebContent]
|
|
Socket=/tmp/portal/webcontent
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
User=webcontent
|
|
BootModes=graphical
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[ImageDecoder]
|
|
Socket=/tmp/portal/image
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
User=image
|
|
BootModes=graphical
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[SymbolServer]
|
|
Socket=/tmp/portal/symbol
|
|
SocketPermissions=660
|
|
User=symbol
|
|
Lazy=1
|
|
|
|
[LookupServer]
|
|
Socket=/tmp/portal/lookup
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=lookup
|
|
BootModes=text,graphical,self-test
|
|
|
|
[DHCPClient]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=root
|
|
BootModes=text,graphical,self-test
|
|
|
|
[NotificationServer]
|
|
Socket=/tmp/portal/notify
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=notify
|
|
|
|
[LaunchServer]
|
|
Socket=/tmp/portal/launch
|
|
SocketPermissions=600
|
|
Lazy=1
|
|
User=anon
|
|
BootModes=text,graphical
|
|
|
|
[WindowServer]
|
|
Socket=/tmp/portal/window,/tmp/portal/wm
|
|
SocketPermissions=660
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=window
|
|
|
|
[Clipboard]
|
|
Socket=/tmp/portal/clipboard
|
|
SocketPermissions=660
|
|
Priority=low
|
|
User=clipboard
|
|
|
|
[ResourceGraph.Applet]
|
|
Arguments=--cpu=CPUGraph,#00bb00 --memory=MemoryGraph,#00bbbb
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Audio.Applet]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Network.Applet]
|
|
Arguments=--name=Network
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[ClipboardHistory.Applet]
|
|
Priority=low
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[AudioServer]
|
|
# TODO: It would be nice to make this lazy, but Audio.Applet connects to it immediately on startup anyway.
|
|
Socket=/tmp/portal/audio
|
|
Priority=high
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Taskbar]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Desktop]
|
|
Executable=/bin/FileManager
|
|
Arguments=--desktop
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[Terminal]
|
|
User=anon
|
|
WorkingDirectory=/home/anon
|
|
|
|
[Shell@tty0]
|
|
Executable=/bin/Shell
|
|
StdIO=/dev/tty0
|
|
Environment=TERM=xterm
|
|
KeepAlive=1
|
|
BootModes=text
|
|
|
|
[Shell@tty1]
|
|
Executable=/bin/Shell
|
|
StdIO=/dev/tty1
|
|
Environment=TERM=xterm
|
|
KeepAlive=1
|
|
BootModes=text
|
|
|
|
[CppLanguageServer]
|
|
Socket=/tmp/portal/language/cpp
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
User=anon
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[ShellLanguageServer]
|
|
Socket=/tmp/portal/language/shell
|
|
SocketPermissions=660
|
|
Lazy=1
|
|
User=anon
|
|
MultiInstance=1
|
|
AcceptSocketConnections=1
|
|
|
|
[CrashDaemon]
|
|
KeepAlive=1
|
|
User=anon
|
|
|
|
[TestRunner@ttyS0]
|
|
Executable=/home/anon/tests/run-tests-and-shutdown.sh
|
|
StdIO=/dev/ttyS0
|
|
Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/bin:/usr/bin:/usr/local/bin
|
|
User=anon
|
|
WorkingDirectory=/home/anon
|
|
BootModes=self-test
|