6854898: Frame is located at the negative coordinates instead of origin for Solaris 10 CDE

Reviewed-by: art, anthony
This commit is contained in:
Dmitry Cherepanov 2009-08-27 17:06:23 +04:00
parent 27d7a83c52
commit 8b2b083b28
2 changed files with 5 additions and 2 deletions

View File

@ -71,8 +71,8 @@ public abstract class XErrorHandler {
return super.handleError(display, err);
}
// Shared instance
private static IgnoreBadWindowHandler theInstance = new IgnoreBadWindowHandler();
public static IgnoreBadWindowHandler getInstance() {
private static VerifyChangePropertyHandler theInstance = new VerifyChangePropertyHandler();
public static VerifyChangePropertyHandler getInstance() {
return theInstance;
}
}

View File

@ -166,6 +166,9 @@ public final class XToolkit extends UNIXToolkit implements Runnable {
}
public static void RESTORE_XERROR_HANDLER() {
// wait until all requests are processed by the X server
// and only then uninstall the error handler
XSync();
current_error_handler = null;
}