src/solaris/classes/sun/awt/X11/XDecoratedPeer.java
Print this page
*** 1097,1109 ****
boolean isMaximized() {
return false;
}
boolean isOverrideRedirect() {
! // return false;
! return ((XToolkit)Toolkit.getDefaultToolkit()).isOverrideRedirect((Window)target);
}
public boolean requestWindowFocus(long time, boolean timeProvided) {
focusLog.fine("Request for decorated window focus");
// If this is Frame or Dialog we can't assure focus request success - but we still can try
--- 1097,1109 ----
boolean isMaximized() {
return false;
}
+ @Override
boolean isOverrideRedirect() {
! return Window.Type.POPUP.equals(getWindowType());
}
public boolean requestWindowFocus(long time, boolean timeProvided) {
focusLog.fine("Request for decorated window focus");
// If this is Frame or Dialog we can't assure focus request success - but we still can try