Hello Guest

Mouse motion event doesn't fire in Linux, right clicking kills events altogether

  • 0 Replies
  • 2594 Views
OS: Lubuntu 12.10
LWJGL v2.9.0, v2.8.5
JDK 1.7.0_10

When hosting the LWJGL Canvas in a Frame, and setting up the context using Display.setParent(canvas), AWT events seem finicky. Most events work. However, MouseMotionEvent doesn't ever get fired. I can't ever get a mouseDragged or mouseMoved event.

Also, when right-clicking on the Canvas, AWT events stop altogether. There is a workaround if you call MouseEvent.consume(event), but without this, future AWT events don't get passed to the application.
« Last Edit: April 16, 2013, 06:22:49 by lmorsino »