diff -Nru openjdk.orig/jdk/src/solaris/classes/sun/awt/X11/XWindowPeer.java openjdk/jdk/src/solaris/classes/sun/awt/X11/XWindowPeer.java
--- openjdk.orig/jdk/src/solaris/classes/sun/awt/X11/XWindowPeer.java	2010-01-04 16:57:29.000000000 +0000
+++ openjdk/jdk/src/solaris/classes/sun/awt/X11/XWindowPeer.java	2010-01-04 19:47:57.000000000 +0000
@@ -1142,6 +1142,7 @@
 
     boolean isOverrideRedirect() {
         return XWM.getWMID() == XWM.OPENLOOK_WM ||
+            XWM.getWMID() == XWM.METACITY_WM ||
             Window.Type.POPUP.equals(getWindowType());
     }
 
