mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
244efe050a
This commit moves the clipboard from WindowServer into a new Clipboard service program. Clipboard runs as the unprivileged "clipboard" user and with a much tighter pledge than WindowServer. To keep things working as before, all GUI::Application users now make a connection to Clipboard after making the connection to WindowServer. It could be interesting to connect to Clipboard on demand, but right now that would necessitate expanding every GUI app's pledge to include "unix" and also unveiling the clipboard portal, which I prefer not to.
26 lines
570 B
CMake
26 lines
570 B
CMake
compile_ipc(WindowServer.ipc WindowServerEndpoint.h)
|
|
compile_ipc(WindowClient.ipc WindowClientEndpoint.h)
|
|
|
|
set(SOURCES
|
|
AppletManager.cpp
|
|
Button.cpp
|
|
ClientConnection.cpp
|
|
Compositor.cpp
|
|
Cursor.cpp
|
|
EventLoop.cpp
|
|
main.cpp
|
|
MenuBar.cpp
|
|
Menu.cpp
|
|
MenuItem.cpp
|
|
MenuManager.cpp
|
|
Screen.cpp
|
|
Window.cpp
|
|
WindowFrame.cpp
|
|
WindowManager.cpp
|
|
WindowSwitcher.cpp
|
|
WindowServerEndpoint.h
|
|
WindowClientEndpoint.h
|
|
)
|
|
|
|
serenity_bin(WindowServer)
|
|
target_link_libraries(WindowServer LibCore LibGfx LibThread LibPthread LibIPC)
|