[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

cblu cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:28:51 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit a89e7c925453343854e4e7844c74688b61de0f0e
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Aug 1 21:26:30 2002 +0000

    	Only send command keyDown once by ignoring the keyDown that comes after performKeyEquivalent.
    
            * Plugins.subproj/WebPluginView.m:
            (-[WebPluginView keyDown:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1720 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 692c7d9..226edb0 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,12 @@
 2002-08-01  Chris Blumenberg  <cblu at apple.com>
 
+	Only send command keyDown once by ignoring the keyDown that comes after performKeyEquivalent.
+
+        * Plugins.subproj/WebPluginView.m:
+        (-[WebPluginView keyDown:]):
+
+2002-08-01  Chris Blumenberg  <cblu at apple.com>
+
 	Fixed: 2970530 - Command keys are not getting passed in to plugins
 
         * Plugins.subproj/WebPluginView.m:
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 692c7d9..226edb0 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,5 +1,12 @@
 2002-08-01  Chris Blumenberg  <cblu at apple.com>
 
+	Only send command keyDown once by ignoring the keyDown that comes after performKeyEquivalent.
+
+        * Plugins.subproj/WebPluginView.m:
+        (-[WebPluginView keyDown:]):
+
+2002-08-01  Chris Blumenberg  <cblu at apple.com>
+
 	Fixed: 2970530 - Command keys are not getting passed in to plugins
 
         * Plugins.subproj/WebPluginView.m:
diff --git a/WebKit/Plugins.subproj/WebPluginView.m b/WebKit/Plugins.subproj/WebPluginView.m
index e95797a..ffddffe 100644
--- a/WebKit/Plugins.subproj/WebPluginView.m
+++ b/WebKit/Plugins.subproj/WebPluginView.m
@@ -259,6 +259,12 @@
 {
     EventRecord event;
     bool acceptedEvent;
+
+    // Some command keys are sent with both performKeyEquivalent and keyDown.
+    // We should send only 1 keyDown to the plug-in, so we'll ignore this one.
+    if([theEvent modifierFlags] & NSCommandKeyMask){
+        return;
+    }
     
     [self getCarbonEvent:&event withEvent:theEvent];
     event.what = keyDown;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list