taskbar: Handle SIGCHLD as part of the event loop
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-10-09 22:14:34 +02:00
parent 3e5bdc8c80
commit d3a347e432
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -40,7 +40,7 @@ Result<int> luna_main(int argc, char** argv)
ui::App app;
TRY(app.init(argc, argv));
signal(SIGCHLD, sigchld_handler);
TRY(os::EventLoop::the().register_signal_handler(SIGCHLD, sigchld_handler));
ui::Rect screen = app.screen_rect();