xkb: Set nIndicators in XkbGetIndicatorMap
authorPeter Harris <pharris@opentext.com>
Tue, 19 Feb 2013 21:08:52 +0000 (16:08 -0500)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 21 Feb 2013 00:07:22 +0000 (10:07 +1000)
commite27b2e61632b220ddc36d0d0387581a9f4774f21
treef3bb1df92e8739b1f7054766e2c4edf9f4df62e4
parent3aac7a59dc6ef2d8bbf46ba5d37acdf6013e9450
xkb: Set nIndicators in XkbGetIndicatorMap

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 <pharris@opentext.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
xkb/xkb.c