From f260cedb5a4f84df0ead21140c31886f417cac04 Mon Sep 17 00:00:00 2001 From: haydentech Date: Mon, 1 Nov 2004 16:18:44 +0000 Subject: [PATCH] Implement bare-bones AS_SYNC message handling - this fixes a problem whereby app_server<->client communications would come to a stop since the client expected a reply from this message and would never get one because it was unimplemented git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9711 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/server/ServerWindow.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/servers/app/server/ServerWindow.cpp b/src/servers/app/server/ServerWindow.cpp index 201df70807..fc28083850 100644 --- a/src/servers/app/server/ServerWindow.cpp +++ b/src/servers/app/server/ServerWindow.cpp @@ -2182,6 +2182,13 @@ debugger("STROKERECT"); break; } + case AS_SYNC: + { + // TODO: AS_SYNC is a no-op for now, just to get things working + fMsgSender->StartMessage(SERVER_TRUE); + fMsgSender->Flush(); + break; + } default: { printf("ServerWindow %s received unexpected code - message offset %lx\n",fTitle.String(), code - SERVER_TRUE);