B_ZENKAKU_HANKAKU doesn't need B_COMMAND_KEY (I misunderstood the patch).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25421 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1527,8 +1527,8 @@ InputServer::_SanitizeEvents(EventList& events)
|
|||||||
|
|
||||||
int8 byte = 0;
|
int8 byte = 0;
|
||||||
event->FindInt8("byte", &byte);
|
event->FindInt8("byte", &byte);
|
||||||
if ((fKeyInfo.modifiers & B_COMMAND_KEY) != 0
|
if (((fKeyInfo.modifiers & B_COMMAND_KEY) != 0 && byte == ' ')
|
||||||
&& (byte == ' ' || static_cast<uint8>(byte) == B_ZENKAKU_HANKAKU)) {
|
|| static_cast<uint8>(byte) == B_ZENKAKU_HANKAKU) {
|
||||||
SetNextMethod(!fKeyInfo.modifiers & B_SHIFT_KEY);
|
SetNextMethod(!fKeyInfo.modifiers & B_SHIFT_KEY);
|
||||||
|
|
||||||
// this event isn't sent to the user
|
// this event isn't sent to the user
|
||||||
|
|||||||
Reference in New Issue
Block a user