From 94384630d91c92eab03d76710f0a952a9d634729 Mon Sep 17 00:00:00 2001 From: Ben Byer Date: Mon, 21 Apr 2008 17:52:10 -0700 Subject: Fix for pointer-offset issue when using a multi-display environment on X11.app. (cherry picked from commit 9a7e14286ced55c5e2a4512e2629e03836443009) --- hw/xquartz/xpr/xprScreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3