diff options
author | Grant Gayed <ggayed> | 2010-04-08 16:21:41 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2010-04-08 16:21:41 +0000 |
commit | 834db6fd10425983332404c0ab040afec6914cb4 (patch) | |
tree | 5680abcc6c8290ad3991e87c097889d2a18262f1 /bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser | |
parent | f7cff71f7fbf0f8ed898a81649c722d13f5b15ec (diff) | |
download | eclipse.platform.swt-834db6fd10425983332404c0ab040afec6914cb4.tar.gz eclipse.platform.swt-834db6fd10425983332404c0ab040afec6914cb4.tar.xz eclipse.platform.swt-834db6fd10425983332404c0ab040afec6914cb4.zip |
308515 - mouse event coordinates are wrong for pages with frames on Safari
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java index 6d394ebb79..784aa6a72b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java +++ b/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java @@ -899,10 +899,10 @@ boolean handleEvent (Object[] arguments) { } /* - * The position of mouse events is received in screen-relative co-ordinates + * The position of mouse events is received in screen-relative coordinates * in order to handle pages with frames, since frames express their event - * co-ordinates relative to themselves rather than relative to their top- - * level page. Convert screen-relative co-ordinates to be browser-relative. + * coordinates relative to themselves rather than relative to their top- + * level page. Convert screen-relative coordinates to be browser-relative. */ Point position = new Point (((Double)arguments[1]).intValue (), ((Double)arguments[2]).intValue ()); position = browser.getDisplay ().map (null, browser, position); |