[PATCH] Xi: fix XI2 passive grab reply length calculation

Daniel Stone daniel at fooishbar.org
Tue Mar 8 05:37:13 PST 2011


On Tue, Mar 08, 2011 at 02:44:02PM +1000, Peter Hutterer wrote:
> If modifiers failed, the reply length was 4 bytes too short.
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

This only works because xXIGrabModifierInfo is a multiple of 32, else
rounding would ruin your day, but:
Reviewed-by: Daniel Stone <daniel at fooishbar.org>

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110308/aea367e8/attachment.pgp>


More information about the xorg-devel mailing list