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:
parent
e087cd574e
commit
99e3e42fa5
3 changed files with 24 additions and 12 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue