From e171ae1589adfddca38a9f8d27a05f17e90f65b1 Mon Sep 17 00:00:00 2001 From: Xerxes Rånby Date: Wed, 29 Jul 2015 01:54:46 +0200 Subject: Bug 1178: Workaround cc9 X11UnderlayTracker: Pressing Maximize locks-up the NEWT EDT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cc9: Pressing Maximize locks-up the NEWT EDT Workaround cc9: Prevent the overlay to reposition the underlay. Signed-off-by: Xerxes Rånby --- src/newt/classes/jogamp/newt/driver/x11/X11UnderlayTracker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/newt/classes/jogamp') diff --git a/src/newt/classes/jogamp/newt/driver/x11/X11UnderlayTracker.java b/src/newt/classes/jogamp/newt/driver/x11/X11UnderlayTracker.java index db34d9337..523899abe 100644 --- a/src/newt/classes/jogamp/newt/driver/x11/X11UnderlayTracker.java +++ b/src/newt/classes/jogamp/newt/driver/x11/X11UnderlayTracker.java @@ -128,7 +128,9 @@ public class X11UnderlayTracker implements WindowListener, KeyListener, MouseLis WindowImpl underlayWindow = overlayWindowMap.get(s); if(overlayWindow.getX()!=underlayWindow.getX() || overlayWindow.getY()!=underlayWindow.getY()) { - underlayWindow.setPosition(overlayWindow.getX(), overlayWindow.getY()); + //FIXME: Pressing Maximize on the underlay X11 + //with this line enabled locks-up the NEWT EDT while using the BCM.VC.IV + //underlayWindow.setPosition(overlayWindow.getX(), overlayWindow.getY()); } } } -- cgit v1.2.3