From 1c304b51b847e2643e411cb4141df87fb8b1877f Mon Sep 17 00:00:00 2001 From: zonble Date: Sun, 2 Oct 2011 21:21:18 +0800 Subject: [PATCH] Ignores keyboard events with numeric mask. --- Source/InputMethodController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/InputMethodController.mm b/Source/InputMethodController.mm index d836deea..0e39235a 100644 --- a/Source/InputMethodController.mm +++ b/Source/InputMethodController.mm @@ -452,7 +452,7 @@ public: } // if the composing buffer is empty and there's no reading, and there is some function key combination, we ignore it - if (![_composingBuffer length] && _bpmfReadingBuffer->isEmpty() && ((flags & NSCommandKeyMask) || (flags & NSControlKeyMask) || (flags & NSAlternateKeyMask))) { + if (![_composingBuffer length] && _bpmfReadingBuffer->isEmpty() && ((flags & NSCommandKeyMask) || (flags & NSControlKeyMask) || (flags & NSAlternateKeyMask) || (flags & NSNumericPadKeyMask))) { return NO; }