mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:27:45 +00:00
WindowServer: Remove some old commented-out code.
This commit is contained in:
parent
796bc56a13
commit
1484a9eabd
1 changed files with 0 additions and 6 deletions
|
@ -249,12 +249,6 @@ void WSMessageLoop::notify_client_disconnected(int client_id)
|
||||||
|
|
||||||
void WSMessageLoop::on_receive_from_client(int client_id, const WSAPI_ClientMessage& message)
|
void WSMessageLoop::on_receive_from_client(int client_id, const WSAPI_ClientMessage& message)
|
||||||
{
|
{
|
||||||
#if 0
|
|
||||||
// FIXME: This should not be necessary.. why is this necessary?
|
|
||||||
while (!running())
|
|
||||||
sched_yield();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
WSClientConnection& client = *WSClientConnection::from_client_id(client_id);
|
WSClientConnection& client = *WSClientConnection::from_client_id(client_id);
|
||||||
switch (message.type) {
|
switch (message.type) {
|
||||||
case WSAPI_ClientMessage::Type::Greeting:
|
case WSAPI_ClientMessage::Type::Greeting:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue