From 576e6fb1124a47493371210adf99d6f2076e72c5 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 8 Jun 2006 17:49:02 -0400 Subject: [PATCH] Bug #7120: Multimonitor (non-Xinerama) support for xwin servers. (Tom Whittock) --- hw/xwin/wincreatewnd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/xwin/wincreatewnd.c b/hw/xwin/wincreatewnd.c index 7c93e4063..796a08593 100644 --- a/hw/xwin/wincreatewnd.c +++ b/hw/xwin/wincreatewnd.c @@ -58,6 +58,8 @@ winCreateBoundingWindowFullScreen (ScreenPtr pScreen) { winScreenPriv(pScreen); winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo; + int iX = pScreenInfo->dwInitialX; + int iY = pScreenInfo->dwInitialY; int iWidth = pScreenInfo->dwWidth; int iHeight = pScreenInfo->dwHeight; HWND *phwnd = &pScreenPriv->hwndScreen; @@ -99,8 +101,8 @@ winCreateBoundingWindowFullScreen (ScreenPtr pScreen) WINDOW_CLASS, /* Class name */ szTitle, /* Window name */ WS_POPUP, - 0, /* Horizontal position */ - 0, /* Vertical position */ + iX, /* Horizontal position */ + iY, /* Vertical position */ iWidth, /* Right edge */ iHeight, /* Bottom edge */ (HWND) NULL, /* No parent or owner window */