aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/javafx/newt/Window.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/javafx/newt/Window.java')
-rwxr-xr-xsrc/classes/com/sun/javafx/newt/Window.java6
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;
}