6721086: Toolkit beep does not work consistently
authorlangel
Fri, 19 Jun 2009 16:49:50 -0400
changeset 3083 1954edd3b7a7
parent 3082 24c8d93ac1e1
child 3084 67ca55732362
6721086: Toolkit beep does not work consistently Summary: Flush out after bell is sounded Reviewed-by: anthony
jdk/src/solaris/classes/sun/awt/X11/XToolkit.java
--- a/jdk/src/solaris/classes/sun/awt/X11/XToolkit.java	Thu Jun 18 11:28:54 2009 +0400
+++ b/jdk/src/solaris/classes/sun/awt/X11/XToolkit.java	Fri Jun 19 16:49:50 2009 -0400
@@ -1177,6 +1177,7 @@
         awtLock();
         try {
             XlibWrapper.XBell(getDisplay(), 0);
+            XlibWrapper.XFlush(getDisplay());
         } finally {
             awtUnlock();
         }