Bug 541635 - [Wayland] Random behaviour when moving editor tabs

Remove public non-API field. There is no need to set mouseDown flag in
DragEnd as when source.dragEnd is called, we set the mouseDown flag when
we send the MouseUp signal.

Change-Id: Ifa828bebc759ffafc656b7b414ae090b308533f6
Signed-off-by: Xi Yan <xixiyan@redhat.com>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java
index 8743479..7f6eefe 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DragSource.java
@@ -229,7 +229,6 @@
 }
 
 static long /*int*/ DragEnd(long /*int*/ widget, long /*int*/ context){
-	Control.mouseDown = false;
 	DragSource source = FindDragSource(widget);
 	if (source == null) return 0;
 	source.dragEnd(widget, context);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
index b8d0633..13cb4b0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
@@ -118,7 +118,7 @@
 	 * Bug 541635, 515396: GTK Wayland only flag to keep track whether mouse
 	 * is currently pressed or released for DND.
 	 */
-	public static boolean mouseDown;
+	static boolean mouseDown;
 	boolean dragBegun;
 
 Control () {