Xlib doesn't use this value (it computes it from the reply length instead) which is why nobody has noticed yet. But the spec http://www.x.org/releases/X11R7.7/doc/kbproto/xkbproto.html says that it should be set.
Signed-off-by: Peter Harris <[email protected]> --- xkb/xkb.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/xkb/xkb.c b/xkb/xkb.c index 7e51e40..2ad6574 100644 --- a/xkb/xkb.c +++ b/xkb/xkb.c @@ -3073,6 +3073,7 @@ XkbComputeGetIndicatorMapReplySize(XkbIndicatorPtr indicators, nIndicators++; } rep->length = (nIndicators * SIZEOF(xkbIndicatorMapWireDesc)) / 4; + rep->nIndicators = nIndicators; return Success; } -- 1.7.2.5 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
