Fix for pointer-offset issue when using a multi-display environment on X11.app.

(cherry picked from commit 9a7e14286c)
This commit is contained in:
Ben Byer 2008-04-21 17:52:10 -07:00
parent 3f081b4de5
commit 570b0dca26

View File

@ -150,7 +150,7 @@ displayScreenBounds(CGDirectDisplayID id)
/* Remove menubar to help standard X11 window managers. */
if (frame.origin.x == 0 && frame.origin.y == 0)
if (frame.origin.y == 0)
{
frame.origin.y += aquaMenuBarHeight;
frame.size.height -= aquaMenuBarHeight;