Ticket #2218: InputServer.diff
File InputServer.diff, 764 bytes (added by , 17 years ago) |
---|
-
src/servers/input/InputServer.cpp
1525 1525 PRINT(("SanitizeEvents: %lx, %lx\n", fKeyInfo.modifiers, 1526 1526 fKeyInfo.key_states[KEY_Spacebar >> 3])); 1527 1527 1528 int8 byte; 1529 if ((fKeyInfo.modifiers & B_COMMAND_KEY) != 0 1530 && event->FindInt8("byte", &byte) == B_OK && byte == ' ') { 1528 int8 byte = 0; 1529 event->FindInt8("byte", &byte); 1530 if ((fKeyInfo.modifiers & B_COMMAND_KEY) != 0 && byte == ' ' 1531 || static_cast<uint8>(byte) == 0xf3) { 1531 1532 SetNextMethod(!fKeyInfo.modifiers & B_SHIFT_KEY); 1532 1533 1533 1534 // this event isn't sent to the user