Mercurial > hg > release > icedtea7-forest-2.0 > jdk
changeset 4550:3507a704279d
Produce the "expected" behavior for full screen applications or other
situations where developers wish to present elements that would cover
things like panels.
This was rejected in [1], but Metacity maintains that this behavior does
not break any spec and does not appear likely to change either [2], so we
must be the "good guys" and provide the expected behavior. See discussion[3].
[1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6514512
[2] https://bugzilla.gnome.org/show_bug.cgi?id=405269
[3] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008862.html
author | andrew |
---|---|
date | Thu, 22 Sep 2011 01:01:50 +0100 |
parents | f093b908503d |
children | f1da1fe05831 |
files | src/solaris/classes/sun/awt/X11/XWindowPeer.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/solaris/classes/sun/awt/X11/XWindowPeer.java Thu Sep 22 00:00:43 2011 +0100 +++ b/src/solaris/classes/sun/awt/X11/XWindowPeer.java Thu Sep 22 01:01:50 2011 +0100 @@ -1142,6 +1142,8 @@ boolean isOverrideRedirect() { return XWM.getWMID() == XWM.OPENLOOK_WM || + (XWM.getWMID() == XWM.METACITY_WM ? true : false) || + target.getName().equals("###overrideRedirect###") || Window.Type.POPUP.equals(getWindowType()); }