diff options
author | Silenio Quarti <silenio> | 2003-10-31 23:38:02 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2003-10-31 23:38:02 +0000 |
commit | 2e0402f1595f385e31c21821daaa1d04640630cd (patch) | |
tree | 4612ac4e5d4d5f0d9191e1dab031507de68e5e11 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java | |
parent | 6e424e9e28bf71e917559ecb03b86644fa3aa7e6 (diff) | |
download | eclipse.platform.swt-2e0402f1595f385e31c21821daaa1d04640630cd.tar.gz eclipse.platform.swt-2e0402f1595f385e31c21821daaa1d04640630cd.tar.xz eclipse.platform.swt-2e0402f1595f385e31c21821daaa1d04640630cd.zip |
unused var
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 430f5870fe..bdf7c28021 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 @@ -323,15 +323,15 @@ public boolean open () { cursorOrientation |= hStyle; } - Point cursorPos; - int mask = OS.GDK_BUTTON1_MASK | OS.GDK_BUTTON2_MASK | OS.GDK_BUTTON3_MASK; - boolean mouseDown = (state [0] & mask) != 0; /* * The following is intentionally commented. Since gtk does not currently * support pointer warping, the resize cursor cannot be adjusted. If this * capability is added in the future then the following should be uncommented, * and the #adjustResizeCursor method can be copied from another platform. */ +// Point cursorPos; +// int mask = OS.GDK_BUTTON1_MASK | OS.GDK_BUTTON2_MASK | OS.GDK_BUTTON3_MASK; +// boolean mouseDown = (state [0] & mask) != 0; // if (!mouseDown) { // if ((style & SWT.RESIZE) != 0) { // cursorPos = adjustResizeCursor (xDisplay, xWindow); |