diff options
Diffstat (limited to 'ardor3d-awt/src')
-rw-r--r-- | ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseManager.java b/ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseManager.java index 194b729..9f5a816 100644 --- a/ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseManager.java +++ b/ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseManager.java @@ -62,7 +62,7 @@ public class AwtMouseManager implements MouseManager { } public void setCursor(final MouseCursor cursor) { - if (cursor == MouseCursor.SYSTEM_DEFAULT) { + if (cursor == MouseCursor.SYSTEM_DEFAULT || cursor == null) { if (_grabbedState == GrabbedState.GRABBED) { _pregrabCursor = Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR); } else { |