Lines Matching defs:sn
1204 xkbStateNotify sn;
1206 sn.keycode = key;
1207 sn.eventType = evtype;
1208 sn.requestMajor = sn.requestMinor = 0;
1209 sn.changed = changed;
1210 XkbSendStateNotify(dev, &sn);
1491 xkbStateNotify sn;
1493 sn.changed = 0;
1497 sn.changed |= XkbModifierLatchMask;
1501 sn.changed |= XkbGroupLatchMask;
1505 sn.changed |= XkbModifierLockMask;
1509 sn.changed |= XkbGroupLockMask;
1511 if (genEv && sn.changed) {
1515 sn.keycode = cause->kc;
1516 sn.eventType = cause->event;
1517 sn.requestMajor = cause->mjr;
1518 sn.requestMinor = cause->mnr;
1519 sn.changed = XkbStateChangedFlags(&os, &xkbi->state);
1520 XkbSendStateNotify(dev, &sn);
1521 changed = XkbIndicatorsToUpdate(dev, sn.changed, FALSE);