diff options
author | marha <marha@users.sourceforge.net> | 2010-07-01 06:37:06 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-07-01 06:37:06 +0000 |
commit | 87559ccfc67a98a75fa8068066871c35caa88e30 (patch) | |
tree | 2bf313d2ae1adb6840cff8e62ccce5f984af142a /xorg-server/os/connection.c | |
parent | 644d0b3793014483679c9ae0d45a972484c10cb9 (diff) | |
download | vcxsrv-87559ccfc67a98a75fa8068066871c35caa88e30.tar.gz vcxsrv-87559ccfc67a98a75fa8068066871c35caa88e30.tar.bz2 vcxsrv-87559ccfc67a98a75fa8068066871c35caa88e30.zip |
git update 1/7/2010
Diffstat (limited to 'xorg-server/os/connection.c')
-rw-r--r-- | xorg-server/os/connection.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xorg-server/os/connection.c b/xorg-server/os/connection.c index 648164ef3..eb171612b 100644 --- a/xorg-server/os/connection.c +++ b/xorg-server/os/connection.c @@ -1147,6 +1147,10 @@ IgnoreClient (ClientPtr client) OsCommPtr oc = (OsCommPtr)client->osPrivate;
int connection = oc->fd;
+ client->ignoreCount++;
+ if (client->ignoreCount > 1)
+ return;
+
isItTimeToYield = TRUE;
if (!GrabInProgress || FD_ISSET(connection, &AllClients))
{
@@ -1181,6 +1185,11 @@ AttendClient (ClientPtr client) {
OsCommPtr oc = (OsCommPtr)client->osPrivate;
int connection = oc->fd;
+
+ client->ignoreCount--;
+ if (client->ignoreCount)
+ return;
+
if (!GrabInProgress || GrabInProgress == client->index ||
FD_ISSET(connection, &GrabImperviousClients))
{
|