changeset 1337:06f35d090a5e

6721086: Toolkit beep does not work consistently Summary: Flush out after bell is sounded Reviewed-by: anthony
author langel
date Fri, 19 Jun 2009 16:49:50 -0400
parents 49e7d22262a9
children d1bdaf29e531
files src/solaris/classes/sun/awt/X11/XToolkit.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/sun/awt/X11/XToolkit.java	Thu Jun 18 11:28:54 2009 +0400
+++ b/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();
         }