Fixed handling of shift/ctrl/alt on special keys on win32 server.

This commit is contained in:
crs 2003-07-16 21:40:57 +00:00
parent 5488b77d61
commit 9c4267ed11
1 changed files with 34 additions and 38 deletions

View File

@ -1537,6 +1537,7 @@ CMSWindowsPrimaryScreen::mapKey(
*altgr = true; *altgr = true;
} }
} }
}
// map modifier key // map modifier key
KeyModifierMask mask = 0; KeyModifierMask mask = 0;
@ -1574,11 +1575,6 @@ CMSWindowsPrimaryScreen::mapKey(
mask |= KeyModifierScrollLock; mask |= KeyModifierScrollLock;
} }
*maskOut = mask; *maskOut = mask;
}
else {
// don't care
*maskOut = 0;
}
return id; return id;
} }