LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: Matthias on June 24, 2011, 17:02:15

Title: [FIXED] allow negative mouse coordinates also with Mouse.next()
Post by: Matthias on June 24, 2011, 17:02:15
Current the VM parameter "org.lwjgl.input.Mouse.allowNegativeMouseCoords" only affects Mouse.poll().

This patch does 2 things:
a) It implements this behavior also for Mouse.next()
b) The internal variable is renamed to "clipMouseCoordinatesToWindow" and a getter & setter is added.

The existing VM parameter is used to initialize this field as before - so no behavior changes when this feature is not used.