On Tue, Mar 08, 2011 at 01:37:13PM +0000, Daniel Stone wrote: > 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 <[email protected]> > > This only works because xXIGrabModifierInfo is a multiple of 32, else > rounding would ruin your day, but:
it's a protocol struct, they are all multiples of 32 anyway. only exception here are the keycodes with 16 bit IIRC. > Reviewed-by: Daniel Stone <[email protected]> thanks Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
