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:19 -0700
commit570b0dca261920c9b01b4eb11fe9b9987b1c636a (patch)
tree453c535a50a294961fc7ba7e34a12a81c29c694a
parent3f081b4de55e1378728a24d069bf06575ffca2d8 (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 f685d4ad1..6f7598f1c 100644
--- a/hw/xquartz/xpr/xprScreen.c
+++ b/hw/xquartz/xpr/xprScreen.c
@@ -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;