diff options
Diffstat (limited to 'src/classes/com/sun/javafx/newt/Window.java')
-rwxr-xr-x | src/classes/com/sun/javafx/newt/Window.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/classes/com/sun/javafx/newt/Window.java b/src/classes/com/sun/javafx/newt/Window.java index 16984d1f3..71559ede2 100755 --- a/src/classes/com/sun/javafx/newt/Window.java +++ b/src/classes/com/sun/javafx/newt/Window.java @@ -45,7 +45,7 @@ public abstract class Window implements NativeWindow public static final boolean DEBUG_KEY_EVENT = false; public static final boolean DEBUG_IMPLEMENTATION = true; - protected static Window create(String type, Screen screen, long visualID) { + protected static Window create(String type, Screen screen, int visualID) { try { Class windowClass = null; if (NewtFactory.KD.equals(type)) { @@ -89,7 +89,7 @@ public abstract class Window implements NativeWindow } protected Screen screen; - protected long visualID; + protected int visualID; protected long windowHandle; protected boolean locked; @@ -132,7 +132,7 @@ public abstract class Window implements NativeWindow return windowHandle; } - public long getVisualID() { + public int getVisualID() { return visualID; } |