mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
DisplaySettings: Use LibConfig where possible
Some places here still need to open `/etc/WindowServer.ini` which we can't do with th ConfigServer yet.
This commit is contained in:
parent
d276657f85
commit
8fdb435d24
3 changed files with 8 additions and 5 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "DesktopSettingsWidget.h"
|
||||
#include "FontSettingsWidget.h"
|
||||
#include "MonitorSettingsWidget.h"
|
||||
#include <LibConfig/Client.h>
|
||||
#include <LibGUI/Application.h>
|
||||
#include <LibGUI/BoxLayout.h>
|
||||
#include <LibGUI/Button.h>
|
||||
|
@ -28,6 +29,7 @@ int main(int argc, char** argv)
|
|||
}
|
||||
|
||||
auto app = GUI::Application::construct(argc, argv);
|
||||
Config::pledge_domains("WindowManager");
|
||||
|
||||
if (pledge("stdio thread recvfd sendfd rpath cpath wpath", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue