< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XWM.java

Print this page

        

*** 102,112 **** ICE_WM = 10, METACITY_WM = 11, COMPIZ_WM = 12, LG3D_WM = 13, CWM_WM = 14, ! MUTTER_WM = 15; public String toString() { switch (WMID) { case NO_WM: return "NO WM"; case OTHER_WM: --- 102,113 ---- ICE_WM = 10, METACITY_WM = 11, COMPIZ_WM = 12, LG3D_WM = 13, CWM_WM = 14, ! MUTTER_WM = 15, ! UNITY_COMPIZ_WM = 16; public String toString() { switch (WMID) { case NO_WM: return "NO WM"; case OTHER_WM:
*** 127,136 **** --- 128,139 ---- return "IceWM"; case METACITY_WM: return "Metacity"; case COMPIZ_WM: return "Compiz"; + case UNITY_COMPIZ_WM: + return "Unity Compiz"; case LG3D_WM: return "LookingGlass"; case CWM_WM: return "CWM"; case MUTTER_WM:
*** 570,579 **** --- 573,586 ---- static boolean isCompiz() { return isNetWMName("compiz"); } + static boolean isUnityCompiz() { + return isNetWMName("Compiz"); + } + static boolean isLookingGlass() { return isNetWMName("LG3D"); } static boolean isCWM() {
*** 788,797 **** --- 795,806 ---- awt_wmgr = LG3D_WM; } else if (isCWM()) { awt_wmgr = CWM_WM; } else if (doIsIceWM && isIceWM()) { awt_wmgr = XWM.ICE_WM; + } else if (isUnityCompiz()) { + awt_wmgr = XWM.UNITY_COMPIZ_WM; } /* * We don't check for legacy WM when we already know that WM * supports WIN or _NET wm spec. */
< prev index next >