From 570b0dca261920c9b01b4eb11fe9b9987b1c636a Mon Sep 17 00:00:00 2001 From: Ben Byer Date: Mon, 21 Apr 2008 17:52:10 -0700 Subject: [PATCH] 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 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;