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

This commit is contained in:
Ben Byer 2008-04-21 17:52:10 -07:00
parent 983198128e
commit 9a7e14286c

View File

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