mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
Taskbar: Tighten pledged promises, remove incorrect comment
This commit is contained in:
parent
0d78693b6a
commit
764f455d21
Notes:
sideshowbarker
2024-07-18 00:41:35 +09:00
Author: https://github.com/bugreport0
Commit: 764f455d21
Pull-request: https://github.com/SerenityOS/serenity/pull/11234
Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
;
|
||||
});
|
||||
|
||||
// We need to obtain the WM connection here as well before the pledge shortening.
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath unix"));
|
||||
GUI::WindowManagerServerConnection::the();
|
||||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue