diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-11-02 19:02:23 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-11-02 19:02:23 -0400 |
commit | c6ef5f41c2e0bcd1d39422acfa626faff2f73073 (patch) | |
tree | 3062369f032da1cf3c9283c1eda2dcd3f6a89a14 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java | |
parent | 16bb60c719726cc5f9c779be5fc7c437a7d8411c (diff) | |
download | eclipse.platform.swt-c6ef5f41c2e0bcd1d39422acfa626faff2f73073.tar.gz eclipse.platform.swt-c6ef5f41c2e0bcd1d39422acfa626faff2f73073.tar.xz eclipse.platform.swt-c6ef5f41c2e0bcd1d39422acfa626faff2f73073.zip |
rectangles should include right and bottom edges
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java index a53a97ba18..5a87ef6efb 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java @@ -320,17 +320,17 @@ void drawRectangles (Rectangle [] rects) { Rectangle r = parent != null ? display.map(parent, null, rects[i]) : rects[i]; rect.x = r.x; rect.y = r.y; - rect.width = r.width; + rect.width = r.width + 1; rect.height = 1; OS.gdk_region_union_with_rect(region, rect); rect.width = 1; - rect.height = r.height; + rect.height = r.height + 1; OS.gdk_region_union_with_rect(region, rect); rect.x = r.x + r.width; OS.gdk_region_union_with_rect(region, rect); rect.x = r.x; rect.y = r.y + r.height; - rect.width = r.width; + rect.width = r.width + 1; rect.height = 1; OS.gdk_region_union_with_rect(region, rect); } |