diff options
author | Andrey Loskutov | 2019-05-15 13:17:56 +0000 |
---|---|---|
committer | Andrey Loskutov | 2019-05-15 13:49:48 +0000 |
commit | 688392fa96012ce6d288e39b9d3e1052dc907c9a (patch) | |
tree | 8aa8d906c2582ac98208d5909774dbe238358335 | |
parent | 8b8534bd4e8b9d7e275fe3026fa6ea8f5cdc4e16 (diff) | |
download | eclipse.platform.swt-688392fa96012ce6d288e39b9d3e1052dc907c9a.tar.gz eclipse.platform.swt-688392fa96012ce6d288e39b9d3e1052dc907c9a.tar.xz eclipse.platform.swt-688392fa96012ce6d288e39b9d3e1052dc907c9a.zip |
Bug 547320 - [GTK 3.22][Tree] Cannot drag and drop multiple selected
items
Fixed logic to update the "result" value to the state before the patch for bug 546493.
Change-Id: I7c18277507c235388f89f885f6e3b8a67d55f3f2
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java | 4 |
1 files changed, 3 insertions, 1 deletions
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 9e4d812c77..03da5c05ef 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 @@ -3586,7 +3586,9 @@ long gtk_button_press_event (long widget, long event, boolean sendMouseDown) { } else { mouseEventSent = !sendMouseEvent (SWT.MouseDown, eventButton[0], display.clickCount, 0, false, eventTime, eventRX[0], eventRY[0], false, eventState[0]); } - result = mouseEventSent ? 1 : 0; + if (mouseEventSent) { + result = 1; + } } if (isDisposed ()) return 1; /* |