jdk/src/solaris/classes/sun/awt/X11/XWindow.java
changeset 23248 3418855fb2c5
parent 21278 ef8a3a2a72f2
child 23276 add6f5c93bc6
--- a/jdk/src/solaris/classes/sun/awt/X11/XWindow.java	Fri Dec 20 14:42:37 2013 +0400
+++ b/jdk/src/solaris/classes/sun/awt/X11/XWindow.java	Sun Dec 22 21:12:43 2013 +0400
@@ -456,6 +456,7 @@
             ColorModel cm = getColorModel();
             int pixel = PixelConverter.instance.rgbToPixel(c.getRGB(), cm);
             XlibWrapper.XSetWindowBackground(XToolkit.getDisplay(), getContentWindow(), pixel);
+            XlibWrapper.XClearWindow(XToolkit.getDisplay(), getContentWindow());
         }
         finally {
             XToolkit.awtUnlock();