From 2e0402f1595f385e31c21821daaa1d04640630cd Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Fri, 31 Oct 2003 23:38:02 +0000 Subject: unused var --- .../Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java') 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); -- cgit