aboutsummaryrefslogtreecommitdiffstats
path: root/ardor3d-awt/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'ardor3d-awt/src/main/java')
-rw-r--r--ardor3d-awt/src/main/java/com/ardor3d/input/awt/AwtMouseManager.java2
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 f126a5d..f820b9c 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
@@ -63,7 +63,7 @@ public class AwtMouseManager implements MouseManager {
@Override
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 {