summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/src/mac/WebInputEventFactory.mm
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/src/mac/WebInputEventFactory.mm')
-rw-r--r--WebKit/chromium/src/mac/WebInputEventFactory.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebKit/chromium/src/mac/WebInputEventFactory.mm b/WebKit/chromium/src/mac/WebInputEventFactory.mm
index d618228..46b0afe 100644
--- a/WebKit/chromium/src/mac/WebInputEventFactory.mm
+++ b/WebKit/chromium/src/mac/WebInputEventFactory.mm
@@ -92,6 +92,9 @@ static bool isKeypadEvent(NSEvent* event)
return false;
}
+ if ([event modifierFlags] & NSNumericPadKeyMask)
+ return true;
+
switch ([event keyCode]) {
case 71: // Clear
case 81: // =