mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:47:35 +00:00
Taskbar: Tighten pledged promises, remove incorrect comment
This commit is contained in:
parent
0d78693b6a
commit
764f455d21
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