mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
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:
parent
f529b845ec
commit
aa7947c889
11 changed files with 452 additions and 383 deletions
|
@ -66,6 +66,7 @@ WINDOWSERVER_OBJS = \
|
|||
../WindowServer/WSMenuBar.o \
|
||||
../WindowServer/WSMenu.o \
|
||||
../WindowServer/WSMenuItem.o \
|
||||
../WindowServer/WSClientConnection.o \
|
||||
../WindowServer/main.o
|
||||
|
||||
AK_OBJS = \
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue