From 5d3d8a4211968d6d214e8403ba58295b5dd67aec Mon Sep 17 00:00:00 2001 From: Xerxes Rånby Date: Fri, 24 Jul 2015 15:33:00 +0200 Subject: Bug 1178: Fix cc8 bcm.vc.iv WindowDriver: Update pointer during DRAGGED events. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1178 cc8: The bcm.vc.iv mousepointer is not updating _visible_ position during DRAGGED events. Fix cc8: update bcm.vc.iv WindowDriver doMouseEvent Signed-off-by: Xerxes Rånby --- src/newt/classes/jogamp/newt/driver/bcm/vc/iv/WindowDriver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newt') diff --git a/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/WindowDriver.java b/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/WindowDriver.java index 02076348b..29c1bf13d 100644 --- a/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/WindowDriver.java +++ b/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/WindowDriver.java @@ -271,7 +271,7 @@ public class WindowDriver extends WindowImpl { @Override protected final void doMouseEvent(final boolean enqueue, final boolean wait, final short eventType, final int modifiers, final int x, final int y, final short button, final float[] rotationXYZ, final float rotationScale) { - if( MouseEvent.EVENT_MOUSE_MOVED == eventType ) { + if( MouseEvent.EVENT_MOUSE_MOVED == eventType || MouseEvent.EVENT_MOUSE_DRAGGED == eventType ) { final DisplayDriver display = (DisplayDriver) getScreen().getDisplay(); display.moveActivePointerIcon(getX() + x, getY() + y); } -- cgit v1.2.3