1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

WindowServer: Set the WSMessageLoop::server_process() as early as possible.

This commit is contained in:
Andreas Kling 2019-02-08 09:47:57 +01:00
parent a3799cb71e
commit 004aad0995
3 changed files with 4 additions and 1 deletions

View file

@ -22,6 +22,8 @@ public:
bool running() const { return m_running; }
Process& server_process() { return *m_server_process; }
void set_server_process(Process& process) { m_server_process = &process; }
private:
void wait_for_message();
void drain_mouse();