summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java6
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);
}