WindowServer: Add WSClientConnection class to manage an individual client.

This makes both object lifetimes and object ID's a lot easier to understand.
This commit is contained in:
Andreas Kling
2019-02-14 08:22:47 +01:00
parent f529b845ec
commit aa7947c889
11 changed files with 452 additions and 383 deletions

View File

@@ -20,6 +20,7 @@ void Process::destroy_all_windows()
{
if (!WSMessageLoop::the().running())
return;
dbgprintf("Sending death notification for client_id %d\n", gui_client_id());
WSMessageLoop::the().notify_client_died(gui_client_id());
}