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.
}
//#198639 - workaround for main menu & mouse issues in Gnome 3
String session = System.getenv("DESKTOP_SESSION"); //NOI18N
if ("gnome-shell".equals(session) || "gnome".equals(session)) { //NOI18N
if ("gnome-shell".equals(session) || "gnome".equals(session) || "mate".equals(session)) { //NOI18N
try {
Class<?> xwm = Class.forName("sun.awt.X11.XWM"); //NOI18N
Field awt_wmgr = xwm.getDeclaredField("awt_wmgr"); //NOI18N