From f457b9d46349069153a30abbdfd8027da616cd85 Mon Sep 17 00:00:00 2001 From: "Lukhnos D. Liu" Date: Wed, 11 Apr 2012 02:23:56 -0700 Subject: [PATCH] Fix a bug where the sink key handler missed a rejection condition. --- Source/InputMethodController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/InputMethodController.mm b/Source/InputMethodController.mm index 039f45d9..f1e26ed2 100644 --- a/Source/InputMethodController.mm +++ b/Source/InputMethodController.mm @@ -866,7 +866,7 @@ public: // still nothing, then we update the composing buffer (some app has // strange behavior if we don't do this, "thinking" the key is not // actually consumed) - if ([_composingBuffer length]) { + if ([_composingBuffer length] || !_bpmfReadingBuffer->isEmpty()) { [self beep]; [self updateClientComposingBuffer:client]; return YES;