From 600ebcac40ee2d13947701fffc51ea93887db89c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 10 Oct 2011 08:05:26 +0200 Subject: NEWT Pointer Feature: Add Windows impl. ; Fix test (warp action) ; Minor cleanup in X11 --- src/newt/classes/com/jogamp/newt/Window.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/newt/classes/com/jogamp') 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. *

+ * Before jailing the mouse pointer, + * the window request the focus and the pointer is centered in the window. + *

+ *

* In combination w/ {@link #warpPointer(int, int)} * and maybe {@link #setPointerVisible(boolean)} a simple mouse * navigation can be realized.

-- cgit v1.2.3