From d8333fb27964cafde9cc4c6b2cd2f6636465d1eb Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 7 Apr 2008 20:39:46 +0000 Subject: [PATCH] Added line about tracking parent size to Display.setParent javadoc --- src/java/org/lwjgl/opengl/Display.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/java/org/lwjgl/opengl/Display.java b/src/java/org/lwjgl/opengl/Display.java index 3c158af8..007406cf 100644 --- a/src/java/org/lwjgl/opengl/Display.java +++ b/src/java/org/lwjgl/opengl/Display.java @@ -522,7 +522,8 @@ public final class Display { * null or a different parent. This generally means that the parent component must remain added to it's parent container.

* It is not advisable to call this method from an AWT thread, since the context will be made current on the thread * and it is difficult to predict which AWT thread will process any given AWT event.

- * If the Display is in fullscreen mode, the current parent will be ignored. + * While the Display is in fullscreen mode, the current parent will be ignored. Additionally, when a non null parent is specified, + * the Dispaly will inherit the size of the parent, disregarding the currently set display mode.

* */ public static void setParent(Canvas parent) throws LWJGLException {