Skip to content

Commit

Permalink
Bug 1178: Workaround cc9 X11UnderlayTracker: Pressing Maximize locks-…
Browse files Browse the repository at this point in the history
…up the NEWT EDT

cc9: Pressing Maximize locks-up the NEWT EDT
Workaround cc9: Prevent the overlay to reposition the underlay.

Signed-off-by: Xerxes Rånby <xerxes@gudinna.com>
  • Loading branch information
xranby committed Jul 28, 2015
1 parent 124af9f commit e171ae1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ public void windowMoved(final WindowEvent e) {
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());
}
}
}
Expand Down

0 comments on commit e171ae1

Please sign in to comment.