This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 227754
Collapse All | Expand All

(-)a/core.windows/src/org/netbeans/core/windows/view/ui/MainWindow.java (-1 / +1 lines)
Lines 146-152 Link Here
146
           }
146
           }
147
           //#198639 - workaround for main menu & mouse issues in Gnome 3
147
           //#198639 - workaround for main menu & mouse issues in Gnome 3
148
           String session = System.getenv("DESKTOP_SESSION"); //NOI18N
148
           String session = System.getenv("DESKTOP_SESSION"); //NOI18N
149
           if ("gnome-shell".equals(session) || "gnome".equals(session)) { //NOI18N
149
           if ("gnome-shell".equals(session) || "gnome".equals(session) || "mate".equals(session)) { //NOI18N
150
               try {
150
               try {
151
                   Class<?> xwm = Class.forName("sun.awt.X11.XWM"); //NOI18N
151
                   Class<?> xwm = Class.forName("sun.awt.X11.XWM"); //NOI18N
152
                   Field awt_wmgr = xwm.getDeclaredField("awt_wmgr"); //NOI18N
152
                   Field awt_wmgr = xwm.getDeclaredField("awt_wmgr"); //NOI18N

Return to bug 227754