Dear Xorg-devel:<div><br></div><div>I recently upgraded from Ubuntu 10.10 to 12.04 and discovered that the XKB module has a regression--modifier keys can no longer be locked; the xkbwatch utility demonstrates this clearly.  (Specifically, pressing a modifier key, e.g., Shift, twice in a row should allow all subsequent key presses to be SHIFTED--it instead deactivates the latch state.)</div>

<div><br></div><div>I have tried analyzing the code, assuming a simple logic error would be responsible for the regression, only to continually fail.  I zeroed in on ProcXkbLatchLockState, but the logic hasn't changed since at least 10.10.</div>

<div><br></div><div>Would some kind developer please point me in the right direction?  I would love to mentally step through the code to find and fix the error, but I have no idea where to start since I have avoided C for the past 18 years.</div>

<div><br></div><div>Help?</div><div><br></div><div>Please? :)</div><div><br></div><div>Thank you,</div><div><br></div><div>Steven</div>