diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-10-23 11:28:51 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2018-10-23 11:28:51 -0500 |
commit | 26d61cc1f977b4dfee7a2aff6c5aaa6d725fe3fb (patch) | |
tree | cc6b8c002747efe52cdce0f9beac477e08ee8f24 /libre/java7-openjdk/openjdk7_nonreparenting-wm.diff | |
parent | 34aa584b14685314f62485f163b2e0777f883d01 (diff) | |
download | abslibre-26d61cc1f977b4dfee7a2aff6c5aaa6d725fe3fb.tar.gz abslibre-26d61cc1f977b4dfee7a2aff6c5aaa6d725fe3fb.tar.bz2 abslibre-26d61cc1f977b4dfee7a2aff6c5aaa6d725fe3fb.zip |
Removing java{7,8}-openjdk
Diffstat (limited to 'libre/java7-openjdk/openjdk7_nonreparenting-wm.diff')
-rw-r--r-- | libre/java7-openjdk/openjdk7_nonreparenting-wm.diff | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/libre/java7-openjdk/openjdk7_nonreparenting-wm.diff b/libre/java7-openjdk/openjdk7_nonreparenting-wm.diff deleted file mode 100644 index fb4710c13..000000000 --- a/libre/java7-openjdk/openjdk7_nonreparenting-wm.diff +++ /dev/null @@ -1,58 +0,0 @@ ---- openjdk/jdk/src/solaris/classes/sun/awt/X11/XWM.java.orig 2013-10-16 16:17:14.000000000 +0200 -+++ openjdk/jdk/src/solaris/classes/sun/awt/X11/XWM.java 2013-10-21 20:57:34.768580842 +0200 -@@ -105,7 +105,8 @@ - LG3D_WM = 13, - CWM_WM = 14, - MUTTER_WM = 15, -- MARCO_WM = 16; -+ MARCO_WM = 16, -+ OTHER_NONREPARENTING_WM = 17; - public String toString() { - switch (WMID) { - case NO_WM: -@@ -591,7 +592,7 @@ - // TODO: according to wikipedia, compiz is now reparenting. This should - // probably be updated. - static boolean isNonReparentingWM() { -- return (XWM.getWMID() == XWM.COMPIZ_WM || XWM.getWMID() == XWM.LG3D_WM || XWM.getWMID() == XWM.CWM_WM); -+ return (XWM.getWMID() == XWM.COMPIZ_WM || XWM.getWMID() == XWM.LG3D_WM || XWM.getWMID() == XWM.CWM_WM || XWM.getWMID() == XWM.OTHER_NONREPARENTING_WM); - } - - /* -@@ -781,9 +782,17 @@ - * supports WIN or _NET wm spec. - */ - else if (l_net_protocol.active()) { -- awt_wmgr = XWM.OTHER_WM; -+ if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) { -+ awt_wmgr = XWM.OTHER_NONREPARENTING_WM; -+ } else { -+ awt_wmgr = XWM.OTHER_WM; -+ } - } else if (win.active()) { -- awt_wmgr = XWM.OTHER_WM; -+ if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) { -+ awt_wmgr = XWM.OTHER_NONREPARENTING_WM; -+ } else { -+ awt_wmgr = XWM.OTHER_WM; -+ } - } - /* - * Check for legacy WMs. -@@ -794,6 +803,8 @@ - awt_wmgr = XWM.MOTIF_WM; - } else if (isOpenLook()) { - awt_wmgr = XWM.OPENLOOK_WM; -+ } else if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) { -+ awt_wmgr = XWM.OTHER_NONREPARENTING_WM; - } else { - awt_wmgr = XWM.OTHER_WM; - } -@@ -1309,6 +1320,7 @@ - res = new Insets(28, 6, 6, 6); - break; - case NO_WM: -+ case OTHER_NONREPARENTING_WM: - case LG3D_WM: - res = zeroInsets; - break; |