From 62daa94704f3f5125916b81a3494d45ab0c0d09a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 27 Nov 2008 03:27:17 +0000 Subject: Newt-KD: working inc. events. Screen size can be set w/ property newt.ws.swidth newt.ws.sheight git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1807 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/javafx/newt/kd/KDScreen.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/classes/com/sun/javafx/newt/kd/KDScreen.java') diff --git a/src/classes/com/sun/javafx/newt/kd/KDScreen.java b/src/classes/com/sun/javafx/newt/kd/KDScreen.java index f635c8757..5d576356d 100755 --- a/src/classes/com/sun/javafx/newt/kd/KDScreen.java +++ b/src/classes/com/sun/javafx/newt/kd/KDScreen.java @@ -42,5 +42,7 @@ public class KDScreen extends Screen { protected void createNative() { handle = 0; + width=-1; + height=-1; } } -- cgit v1.2.3