work around to get mode switch working.

This commit is contained in:
crs
2002-09-01 16:45:44 +00:00
parent 7dadc86caf
commit cc8272e258

View File

@@ -696,6 +696,11 @@ CXWindowsPrimaryScreen::updateKeys()
m_capsLockMask = 0;
m_scrollLockMask = 0;
// work around for my system, which reports this state bit when
// mode switch is down, instead of the appropriate modifier bit.
// should have no effect on other systems. -crs 9/02.
m_modeSwitchMask |= (1 << 13);
// set keycodes and masks
for (unsigned int i = 0; i < 8; ++i) {
const unsigned int bit = (1 << i);