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 committed by Jeremy Huddleston
parent 14c6b837bb
commit b6fd3fc40c

View file

@ -149,7 +149,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;