1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:48:13 +00:00

Keymap Applet: Spawn KeyboardSettings when clicking

This commit is contained in:
Maciej 2022-02-04 21:04:25 +01:00 committed by Andreas Kling
parent e087cd574e
commit 99e3e42fa5
3 changed files with 24 additions and 12 deletions

View file

@ -13,7 +13,7 @@
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix getkeymap"));
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix getkeymap proc exec"));
auto app = TRY(GUI::Application::try_create(arguments));
@ -24,7 +24,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
window->show();
window->make_window_manager(WindowServer::WMEventMask::KeymapChanged);
TRY(Core::System::pledge("stdio recvfd sendfd rpath getkeymap"));
TRY(Core::System::pledge("stdio recvfd sendfd rpath getkeymap proc exec"));
return app->exec();
}