[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 08:24:49 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 0d2c54fd95abb084063fd66b6bde4c27b9a46ff0
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Jan 30 18:36:33 2004 +0000
Fixed: <rdar://problem/3536126>: REGRESSION (Merlot): WebKit dragging is in strange location
Reviewed by kocienda.
* WebView.subproj/WebHTMLView.m:
(-[WebHTMLView _handleMouseDragged:]): use the proper offset when dragging text
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 320373d..f23df72 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,12 @@
+2004-01-30 Chris Blumenberg <cblu at apple.com>
+
+ Fixed: <rdar://problem/3536126>: REGRESSION (Merlot): WebKit dragging is in strange location
+
+ Reviewed by kocienda.
+
+ * WebView.subproj/WebHTMLView.m:
+ (-[WebHTMLView _handleMouseDragged:]): use the proper offset when dragging text
+
2004-01-28 John Sullivan <sullivan at apple.com>
More header/footer work: refactored the header/footer code so it could
diff --git a/WebKit/WebView.subproj/WebHTMLView.m b/WebKit/WebView.subproj/WebHTMLView.m
index 97b305e..df004d3 100644
--- a/WebKit/WebView.subproj/WebHTMLView.m
+++ b/WebKit/WebView.subproj/WebHTMLView.m
@@ -659,7 +659,7 @@ static WebHTMLView *lastHitView = nil;
}
if (imageURL) {
- _private->draggingImageURL = [imageURL retain];
+ _private->draggingImageURL = [imageURL retain];
WebImageRenderer *image = [element objectForKey:WebElementImageKey];
ASSERT([image isKindOfClass:[WebImageRenderer class]]);
[self _web_dragImage:image
@@ -691,7 +691,7 @@ static WebHTMLView *lastHitView = nil;
NSRect visibleSelectionRect = [[self _bridge] visibleSelectionRect];
[self dragImage:selectionImage
at:NSMakePoint(NSMinX(visibleSelectionRect), NSMaxY(visibleSelectionRect))
- offset:NSMakeSize(mouseDownPoint.x, mouseDownPoint.y)
+ offset:NSMakeSize(mouseDraggedPoint.x - mouseDownPoint.x, mouseDraggedPoint.y - mouseDownPoint.y)
event:_private->mouseDownEvent
pasteboard:pasteboard
source:self
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list