1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00
serenity/Userland/Services/WindowServer
Andreas Kling c778130d63 WindowServer+LibGUI: Add an IPC API to change the current system fonts
This patch adds a set_system_fonts() IPC API that takes the two main
font queries as parameters. We'll probably expand this with additional
queries when we figure out what they should be.

Note that changing the system fonts on a live system mostly takes
effect in newly launched programs. This is because GUI::Widget will
currently cache a pointer to the Gfx::FontDatabase::default_font()
when first constructed. This is something we'll have to fix somehow.

Also note that the settings are not yet persisted.
2021-05-21 20:15:51 +02:00
..
AppletManager.cpp Taskbar+LibGUI+WindowServer: Shrink taskbar by one pixel 2021-05-09 00:11:37 +02:00
AppletManager.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Button.cpp WindowServer: Don't ignore MouseMove events for pressed window buttons 2021-05-09 10:34:40 +02:00
Button.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ClientConnection.cpp WindowServer+LibGUI: Add an IPC API to change the current system fonts 2021-05-21 20:15:51 +02:00
ClientConnection.h WindowServer+LibGUI: Add an IPC API to change the current system fonts 2021-05-21 20:15:51 +02:00
CMakeLists.txt LibGUI+WindowServer: Separate window manager IPC from regular IPC 2021-04-17 13:06:25 +02:00
Compositor.cpp Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
Compositor.h WindowServer+DisplaySettings: Remove the weird "simple" wallpaper mode 2021-05-20 17:52:38 +02:00
Cursor.cpp Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
Cursor.h Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
Event.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventLoop.cpp WindowServer: Don't attempt to make WindowServer inspectable 2021-05-17 23:32:37 +02:00
EventLoop.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
main.cpp LibGfx+WindowServer: Have WindowServer broadcast system font settings 2021-05-21 20:15:51 +02:00
Menu.cpp Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
Menu.h WindowServer: Add Menu::is_open() to improve readability 2021-05-17 23:28:15 +02:00
Menubar.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Menubar.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
MenuItem.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MenuItem.h WindowServer: Fix a handful of clang-tidy warnings in the menu code 2021-05-09 15:47:21 +02:00
MenuManager.cpp WindowServer: Add Menu::is_open() to improve readability 2021-05-17 23:28:15 +02:00
MenuManager.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Screen.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Screen.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Window.cpp WindowServer: Add "Move" action to window menus 2021-05-10 09:06:37 +02:00
Window.h WindowServer: Add "Move" action to window menus 2021-05-10 09:06:37 +02:00
WindowClient.ipc LibGfx+WindowServer: Have WindowServer broadcast system font settings 2021-05-21 20:15:51 +02:00
WindowFrame.cpp WindowServer: Add Menu::is_open() to improve readability 2021-05-17 23:28:15 +02:00
WindowFrame.h WindowServer: Compute final window title before passing to WM clients 2021-05-10 00:02:05 +02:00
WindowManager.cpp WindowServer+LibGUI: Add an IPC API to change the current system fonts 2021-05-21 20:15:51 +02:00
WindowManager.h WindowServer+LibGUI: Add an IPC API to change the current system fonts 2021-05-21 20:15:51 +02:00
WindowManagerClient.ipc Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
WindowManagerServer.ipc WindowServer+Taskbar: Make all the IPC used by Taskbar asynchronous 2021-05-10 12:26:35 +02:00
WindowServer.ipc WindowServer+LibGUI: Add an IPC API to change the current system fonts 2021-05-21 20:15:51 +02:00
WindowSwitcher.cpp WindowServer: Compute final window title before passing to WM clients 2021-05-10 00:02:05 +02:00
WindowSwitcher.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WindowType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WMClientConnection.cpp Userland: Change IPC funcs to use plain arguments instead of a struct 2021-05-03 21:14:06 +02:00
WMClientConnection.h Userland: Update IPC calls to use proxies 2021-05-03 21:14:40 +02:00