mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 15:04:41 +00:00
Mac OS X: Fixed null delta_buffer in MacOSXMouseEventQueue
This commit is contained in:
parent
3674d843c2
commit
24e913477f
1 changed files with 1 additions and 1 deletions
|
|
@ -78,10 +78,10 @@ class MouseEventQueue extends EventQueue implements MouseListener, MouseMotionLi
|
|||
MouseEventQueue(Component component) {
|
||||
super(Mouse.EVENT_SIZE);
|
||||
this.component = component;
|
||||
resetCursorToCenter();
|
||||
}
|
||||
|
||||
public void register() {
|
||||
resetCursorToCenter();
|
||||
component.addMouseListener(this);
|
||||
component.addMouseMotionListener(this);
|
||||
component.addMouseWheelListener(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue