[Bug 196741] java/openjdk7: Mouse will have an offset, when windows are maximized under Gnome3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 15 01:10:21 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196741

            Bug ID: 196741
           Summary: java/openjdk7: Mouse will have an offset, when windows
                    are maximized under Gnome3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: glewis at FreeBSD.org
          Reporter: huanghwh at gmail.com
          Assignee: glewis at FreeBSD.org
             Flags: maintainer-feedback?(glewis at FreeBSD.org)

When maximizing Java window under Gnome3, the mouse will have an offset, you
could not select the menu item.

This patch can fix it:


--- openjdk/jdk/src/solaris/classes/sun/awt/X11/XWM.java.orig    2015-01-15
09:06:22.000000000 +0800
+++ openjdk/jdk/src/solaris/classes/sun/awt/X11/XWM.java    2015-01-15
08:46:42.000000000 +0800
@@ -578,7 +578,7 @@
     }

     static boolean isMutter() {
-        return isNetWMName("Mutter");
+        return isNetWMName("Mutter") || isNetWMName("GNOME Shell");
     }

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer glewis at FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list