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

sullivan sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:21:20 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 5260cd688404717c6df475d1e450dc666318f51c
Author: sullivan <sullivan at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jan 8 22:23:27 2004 +0000

            - fixed <rdar://problem/3524359>: REGRESSSION (119-120):
            Double click to select text in form broken
    
            Reviewed by Dave and Darin.
    
            * khtml/khtmlview.cpp:
            (KHTMLView::dispatchMouseEvent):
            Don't blur the focused node if that's the one you clicked on.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5870 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index e14f78c..7dac2be 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,14 @@
+2004-01-08  John Sullivan  <sullivan at apple.com>
+
+        - fixed <rdar://problem/3524359>: REGRESSSION (119-120): 
+        Double click to select text in form broken
+
+        Reviewed by Dave and Darin.
+
+        * khtml/khtmlview.cpp:
+        (KHTMLView::dispatchMouseEvent):
+        Don't blur the focused node if that's the one you clicked on.
+
 2004-01-07  Richard Williamson   <rjw at apple.com>
 
 	Fixed 3517550.  Named array lookup of applet failed, i.e.:
diff --git a/WebCore/khtml/khtmlview.cpp b/WebCore/khtml/khtmlview.cpp
index 548b71a..bf0ea78 100644
--- a/WebCore/khtml/khtmlview.cpp
+++ b/WebCore/khtml/khtmlview.cpp
@@ -1682,7 +1682,7 @@ bool KHTMLView::dispatchMouseEvent(int eventId, DOM::NodeImpl *targetNode, bool
 	    for ( ; nodeImpl && !nodeImpl->isFocusable(); nodeImpl = nodeImpl->parentNode());
             if (nodeImpl && nodeImpl->isMouseFocusable())
                 m_part->xmlDocImpl()->setFocusNode(nodeImpl);
-            else
+            else if (!nodeImpl || !nodeImpl->focused())
                 m_part->xmlDocImpl()->setFocusNode(0);
         }
     }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list