--- old/src/java.desktop/unix/classes/sun/awt/X11/XMouseInfoPeer.java 2015-10-05 07:32:40.291038616 -0400 +++ new/src/java.desktop/unix/classes/sun/awt/X11/XMouseInfoPeer.java 2015-10-05 07:32:40.167038619 -0400 @@ -30,6 +30,7 @@ import java.awt.GraphicsEnvironment; import java.awt.GraphicsDevice; import java.awt.peer.MouseInfoPeer; +import sun.awt.X11GraphicsDevice; import sun.awt.AWTAccessor; @@ -64,6 +65,12 @@ if (pointerFound) { point.x = Native.getInt(XlibWrapper.larg3); point.y = Native.getInt(XlibWrapper.larg4); + GraphicsDevice device = gds[i]; + if (device instanceof X11GraphicsDevice) { + int scale = ((X11GraphicsDevice) device).getScaleFactor(); + point.x /= scale; + point.y /= scale; + } return i; } }