to provide both pointers, even if you are just interested
in the upper case symbol.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5105
3789f03b-4d11-0410-bbf8-
ca57d06f2519
xkb = GetMaster(keyboardDev, KEYBOARD_OR_FLOAT)->key->xkbInfo->desc;
for (key = xkb->min_key_code; key <= xkb->max_key_code; key++) {
unsigned int state_out;
+ KeySym dummy;
XkbTranslateKeyCode(xkb, key, state, &state_out, &ks);
if (ks == NoSymbol)
continue;
if (state_out & state & LockMask)
- XkbConvertCase(ks, NULL, &ks);
+ XkbConvertCase(ks, &dummy, &ks);
if (ks == keysym)
return key;