[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
darin
darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:30:46 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 82934feff1276fc032887d6c52a48ea1dc86829a
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Mar 25 17:52:19 2004 +0000
Fix by Kristin Webster, reviewed by me.
- fixed <rdar://problem/3582431>: HiDPI - Form elements not working when scaling factor != 1.0
* kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::passWidgetMouseDownEventToWidget): Pass nil for fromView
rather than passing the top level view.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index fa879ea..e105084 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2004-03-25 Darin Adler <darin at apple.com>
+
+ Fix by Kristin Webster, reviewed by me.
+
+ - fixed <rdar://problem/3582431>: HiDPI - Form elements not working when scaling factor != 1.0
+
+ * kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::passWidgetMouseDownEventToWidget): Pass nil for fromView
+ rather than passing the top level view.
+
2004-03-24 Darin Adler <darin at apple.com>
Reviewed by John.
diff --git a/WebCore/kwq/KWQKHTMLPart.mm b/WebCore/kwq/KWQKHTMLPart.mm
index d53bfea..38b83f1 100644
--- a/WebCore/kwq/KWQKHTMLPart.mm
+++ b/WebCore/kwq/KWQKHTMLPart.mm
@@ -1679,12 +1679,7 @@ bool KWQKHTMLPart::passWidgetMouseDownEventToWidget(QWidget* widget)
NSView *nodeView = widget->getView();
ASSERT(nodeView);
ASSERT([nodeView superview]);
- NSView *topView = nodeView;
- NSView *superview;
- while ((superview = [topView superview])) {
- topView = superview;
- }
- NSView *view = [nodeView hitTest:[[nodeView superview] convertPoint:[_currentEvent locationInWindow] fromView:topView]];
+ NSView *view = [nodeView hitTest:[[nodeView superview] convertPoint:[_currentEvent locationInWindow] fromView:nil]];
if (view == nil) {
ERROR("KHTML says we hit a RenderWidget, but AppKit doesn't agree we hit the corresponding NSView");
return true;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list