Commit fa04053
[GTK/Wayland] Fix DragDetect coordinates using mouseDown position
On Wayland, DragDetect was fired with the post-threshold motion
coordinates instead of the original mouseDown position. This caused
ctf.getItem() in Eclipse platform.ui's DnDInfo to return null when
the cursor had drifted off the narrow tab label, silently aborting
the drag.
Fix: use the queued mouseDown event's x/y and button instead of the
motion event values, matching the X11 behaviour.
Fixes #3192
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent d820f7e commit fa04053
File tree
1 file changed
+5
-5
lines changed- bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4143 | 4143 | | |
4144 | 4144 | | |
4145 | 4145 | | |
4146 | | - | |
4147 | | - | |
4148 | | - | |
| 4146 | + | |
| 4147 | + | |
| 4148 | + | |
| 4149 | + | |
4149 | 4150 | | |
4150 | | - | |
4151 | 4151 | | |
4152 | 4152 | | |
4153 | | - | |
| 4153 | + | |
4154 | 4154 | | |
4155 | 4155 | | |
4156 | 4156 | | |
| |||
0 commit comments