summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2006-06-08 17:49:02 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2006-06-08 17:49:02 -0400
commit576e6fb1124a47493371210adf99d6f2076e72c5 (patch)
treef19195c8b30566a87bf6bba9de5ef2af86df8c75
parentd42cf4a2a4980fdd29fb15c4fd8fddda67b36256 (diff)
Bug #7120: Multimonitor (non-Xinerama) support for xwin servers.
(Tom Whittock)
-rw-r--r--hw/xwin/wincreatewnd.c6
1 files 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 */