aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-10 08:05:26 +0200
committerSven Gothel <[email protected]>2011-10-10 08:05:26 +0200
commit600ebcac40ee2d13947701fffc51ea93887db89c (patch)
tree448cf840e0e7bd11287437129440a4edcc7e0e2d /src/newt/classes/com
parent24e0591b6be036d5389cc1eb986ed5e86043ba65 (diff)
NEWT Pointer Feature: Add Windows impl. ; Fix test (warp action) ; Minor cleanup in X11
Diffstat (limited to 'src/newt/classes/com')
-rw-r--r--src/newt/classes/com/jogamp/newt/Window.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newt/classes/com/jogamp/newt/Window.java b/src/newt/classes/com/jogamp/newt/Window.java
index a69b8dbb3..a78f81668 100644
--- a/src/newt/classes/com/jogamp/newt/Window.java
+++ b/src/newt/classes/com/jogamp/newt/Window.java
@@ -241,6 +241,10 @@ public interface Window extends NativeWindow, WindowClosingProtocol {
/**
* Confine the pointer to this window, ie. pointer jail.
* <p>
+ * Before jailing the mouse pointer,
+ * the window request the focus and the pointer is centered in the window.
+ * </p>
+ * <p>
* In combination w/ {@link #warpPointer(int, int)}
* and maybe {@link #setPointerVisible(boolean)} a simple mouse
* navigation can be realized.</p>