mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
Keymap Applet: Spawn KeyboardSettings when clicking
This commit is contained in:
parent
e087cd574e
commit
99e3e42fa5
Notes:
sideshowbarker
2024-07-17 19:47:39 +09:00
Author: https://github.com/sppmacd
Commit: 99e3e42fa5
Pull-request: https://github.com/SerenityOS/serenity/pull/12285
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