From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDSsI-0007sD-Ok for qemu-devel@nongnu.org; Thu, 16 Jun 2016 04:42:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDSsC-0001Lf-Ow for qemu-devel@nongnu.org; Thu, 16 Jun 2016 04:42:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDSsC-0001Lb-Ix for qemu-devel@nongnu.org; Thu, 16 Jun 2016 04:42:00 -0400 Message-ID: <1466066518.7715.19.camel@redhat.com> From: Gerd Hoffmann Date: Thu, 16 Jun 2016 10:41:58 +0200 In-Reply-To: References: <1466064474-26229-1-git-send-email-kraxel@redhat.com> <1466064474-26229-3-git-send-email-kraxel@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 2/2] msmouse: send short messages if possible. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Paolo Bonzini , Anatoly Gusev Hi, > > - if (mouse->outlen <=3D sizeof(mouse->outbuf) - 4) { > > + if (mouse->outlen <=3D sizeof(mouse->outbuf) - count) { > > /* We always send the packet of, so that we do not have to kee= p track > > of previous state of the middle button. This can potentiall= y confuse > > some very old drivers for two button mice though. */ >=20 > Is this comment now out of date ? Yes. I'll drop it in v2.=20 cheers, Gerd