10 int main(int argc, char *argv[])
12 // - Load configuration (from file and argv)
14 Graphics::Open(/*config.m_displayDevice*/);
16 // - Initialise compositor structures
17 // - Prepare global hotkeys
18 // - Bind IPC channels
19 // - Start root child process (from config)
27 Input::FillSelect(&nfd, &rfds);
28 IPC::FillSelect(&nfd, &rfds);
31 int64_t timeout = Timing::GetTimeToNextEvent();
32 int rv = ::_SysSelect(nfd, &rfds, NULL, &rfds, NULL, 0);
34 Timing::CheckEvents();
36 Input::HandleSelect(&rfds);
37 IPC::HandleSelect(&rfds);