summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Byer <bbyer@apple.com>2008-04-21 17:52:10 -0700
committerBen Byer <bbyer@apple.com>2008-04-21 17:55:54 -0700
commit94384630d91c92eab03d76710f0a952a9d634729 (patch)
treef3bd1efb2ee42cf4dfda20eebb6bc30dc8d82c23
parentc06b6d622aee2b03a4c28b53a68ed288019e8290 (diff)
Fix for pointer-offset issue when using a multi-display environment on X11.app.
(cherry picked from commit 9a7e14286ced55c5e2a4512e2629e03836443009)
-rw-r--r--hw/xquartz/xpr/xprScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xquartz/xpr/xprScreen.c b/hw/xquartz/xpr/xprScreen.c
index 150c4bd77..d7add3887 100644
--- a/hw/xquartz/xpr/xprScreen.c
+++ b/hw/xquartz/xpr/xprScreen.c
@@ -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;