Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2001-08-08 21:20:57 +0000
committerGrant Gayed2001-08-08 21:20:57 +0000
commitc0c1934706e06c25a9569e771cce952bff27f808 (patch)
tree382326972af31ebcc0b48d04edc6a67e20f2e4fe
parentf8d861f29985fbeb75d3639447cf707d425c38cf (diff)
downloadeclipse.platform.swt-c0c1934706e06c25a9569e771cce952bff27f808.tar.gz
eclipse.platform.swt-c0c1934706e06c25a9569e771cce952bff27f808.tar.xz
eclipse.platform.swt-c0c1934706e06c25a9569e771cce952bff27f808.zip
fix for 1GBXIEO
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Tracker.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Tracker.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Tracker.java
index 811b202668..15132f470e 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Tracker.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Tracker.java
@@ -228,7 +228,6 @@ public boolean open () {
boolean cancelled = false;
tracking = true;
drawRectangles ();
- Event event = new Event ();
XAnyEvent xEvent = new XAnyEvent ();
int [] unused = new int [1];
int [] newX = new int [1], newY = new int [1], oldX = new int [1], oldY = new int [1];
@@ -247,7 +246,10 @@ public boolean open () {
rectangles [i].x += newX [0] - oldX [0];
rectangles [i].y += newY [0] - oldY [0];
}
- sendEvent (SWT.Move);
+ Event event = new Event();
+ event.x = newX[0];
+ event.y = newY[0];
+ sendEvent (SWT.Move,event);
drawRectangles ();
oldX [0] = newX [0]; oldY [0] = newY [0];
}

Back to the top