summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-06-27 14:40:03 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-06-27 18:25:56 -0700
commitaaff92c8c22a47804a21010d023ef76d82e7ec7e (patch)
tree4da3e0a0e9313eda431dcd8683c170d9424662c1
parentcabcc1a7ad697dde915794ddcea6a300f66b0a28 (diff)
XQuartz: 64bit fix for screen origin in AppleWM
(cherry picked from commit 60a757d2802a5c34acd91ca9a052937b5a169ede)
-rw-r--r--hw/xquartz/applewm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xquartz/applewm.c b/hw/xquartz/applewm.c
index ebfd256f8..418c5de74 100644
--- a/hw/xquartz/applewm.c
+++ b/hw/xquartz/applewm.c
@@ -137,7 +137,7 @@ AppleWMSetScreenOrigin(
WindowPtr pWin
)
{
- long data[2];
+ int32_t data[2];
data[0] = (dixScreenOrigins[pWin->drawable.pScreen->myNum].x
+ darwinMainScreenX);