From c6ef5f41c2e0bcd1d39422acfa626faff2f73073 Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Fri, 2 Nov 2012 19:02:23 -0400 Subject: rectangles should include right and bottom edges --- .../Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java | 6 +++--- 1 file 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); } -- cgit