Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Ufimtsev2018-05-24 18:51:06 +0000
committerAlexander Kurtakov2018-05-28 14:16:20 +0000
commitf387b612b083bd9768b6782dac9356762e8ed1ef (patch)
tree0de3bcc2a6fa68c645dd2e2d7dfd44fed7670b8a /pom.xml
parent8013c7c389dfeba82f5d1fa735b8830665010fab (diff)
downloadeclipse.platform.swt-f387b612b083bd9768b6782dac9356762e8ed1ef.tar.gz
eclipse.platform.swt-f387b612b083bd9768b6782dac9356762e8ed1ef.tar.xz
eclipse.platform.swt-f387b612b083bd9768b6782dac9356762e8ed1ef.zip
Bug 498217 [GTK3][DnD] Dragging parts does not show rectangle (fix)I20180528-2020I20180528-2000
As of Gtk 3.9.1, Commit a60ccd3672467efb454b121993febc36f33cbc79, off-screen GDK windows are not processed. Because of this gtk doesn't send move events to SWT. Platform.UI uses an off-screen tracker for SWT.MOVE events to draw custom rectangles on a transparent shell for it's part-drag-preview. Drawing/updates for these broke because tracker is off screen and no longer sent mouse move events. Solution: If a tracker is to move off-screen, then instead draw it 1x1 and make it transparent. Tests: - Child eclipse. Now part-preview works when dragging editor/views around. - Snippet 31/23 (tracker) work as before. Note, this fix is only for X11. On Wayland part-preview is still broken due to bug 535083. This bugfix seems to make part-preview more fluent on wayland, but there's still a black shell over eclipse. https://bugs.eclipse.org/bugs/show_bug.cgi?id=498217 Change-Id: Ia69c494d3d08b9565e6647073bbfd4870f20ade3 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com> (cherry picked from commit 34be01e01753fd8ff9109cdad0dad9052e65dd4f)
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions

Back to the top