< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XWindowPeer.java

Print this page

        

@@ -816,10 +816,12 @@
 
         // Don't call super until we've handled a screen change.  Otherwise
         // there could be a race condition in which a ComponentListener could
         // see the old screen.
         super.handleConfigureNotifyEvent(xev);
+        AWTAccessor.getComponentAccessor().setLocation(target, newLocation.x,
+                newLocation.y);
         repositionSecurityWarning();
     }
 
     final void requestXFocus(long time) {
         requestXFocus(time, true);
< prev index next >