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

trey trey at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:46:37 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit e55e15e68138f3bfc84b5e277e818d854c86fb80
Author: trey <trey at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jun 15 16:15:07 2004 +0000

    	Dragging tweak:  We pass the mouse down coords instead of the
    	latest mouse drag coords to the ondragstart event.  This makes it
    	easy for the client to figure the correct drag image offset,
    	whereas the mouse drag location is next to useless for that.
    
            Reviewed by Louch
    
            * kwq/KWQKHTMLPart.mm:
            (KWQKHTMLPart::khtmlMouseMoveEvent):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6855 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 417ea10..e022680 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,15 @@
+2004-06-15  Trey Matteson  <trey at apple.com>
+
+	Dragging tweak:  We pass the mouse down coords instead of the
+	latest mouse drag coords to the ondragstart event.  This makes it
+	easy for the client to figure the correct drag image offset,
+	whereas the mouse drag location is next to useless for that.
+
+        Reviewed by Louch
+
+        * kwq/KWQKHTMLPart.mm:
+        (KWQKHTMLPart::khtmlMouseMoveEvent):
+
 2004-06-15  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by Darin.
diff --git a/WebCore/kwq/KWQKHTMLPart.mm b/WebCore/kwq/KWQKHTMLPart.mm
index 1acee1e..3ad1879 100644
--- a/WebCore/kwq/KWQKHTMLPart.mm
+++ b/WebCore/kwq/KWQKHTMLPart.mm
@@ -2001,7 +2001,7 @@ void KWQKHTMLPart::khtmlMouseMoveEvent(MouseMoveEvent *event)
                         _dragClipboard->setDragImageElement(_dragSrc, QPoint(_mouseDownX - srcX, _mouseDownY - srcY));
                     }
                     
-                    _mouseDownMayStartDrag = dispatchDragSrcEvent(EventImpl::DRAGSTART_EVENT, QPoint(dragLocation));
+                    _mouseDownMayStartDrag = dispatchDragSrcEvent(EventImpl::DRAGSTART_EVENT, QPoint(_mouseDownX, _mouseDownY));
                     // Invalidate clipboard here against anymore pasteboard writing for security.  The drag
                     // image can still be changed as we drag, but not the pasteboard data.
                     _dragClipboard->setAccessPolicy(KWQClipboard::ImageWritable);

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list