summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-05-02 00:26:18 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-03 20:11:21 -0700
commit557dbadf3be273255e8fdb12d9321f4e88bf2b65 (patch)
tree12abdbb0d56145739bfcd9b521312947f307b205 /render
parent0d9d3f3e361f769822caedccf4c2a58cc9930ecc (diff)
XkbSetNamedIndicator should ignore SD's without LED's
When ProcXkbSetNamedIndicator is called on a core device, and we walk the slaves to set the LED's on each of them, ignore any slaves that do not have either a KbdFeedbackCtrl or LedCtrl structure. (This is much more critical in xserver-1.5-branch, where we walk *all* devices, not just the slaves of the specified master, and thus return failure when setting an LED on the Core Keyboard and hit a xf86-input-mouse device with no LED's to set.) Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'render')
0 files changed, 0 insertions, 0 deletions