1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:57:45 +00:00

Taskbar: Tighten pledged promises, remove incorrect comment

This commit is contained in:
bugreport0 2021-12-12 19:43:09 +01:00 committed by Andreas Kling
parent 0d78693b6a
commit 764f455d21

View file

@ -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(); GUI::WindowManagerServerConnection::the();
TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath")); TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath"));