Bug #7120: Multimonitor (non-Xinerama) support for xwin servers.
(Tom Whittock)
This commit is contained in:
parent
d42cf4a2a4
commit
576e6fb112
|
@ -58,6 +58,8 @@ winCreateBoundingWindowFullScreen (ScreenPtr pScreen)
|
||||||
{
|
{
|
||||||
winScreenPriv(pScreen);
|
winScreenPriv(pScreen);
|
||||||
winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo;
|
winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo;
|
||||||
|
int iX = pScreenInfo->dwInitialX;
|
||||||
|
int iY = pScreenInfo->dwInitialY;
|
||||||
int iWidth = pScreenInfo->dwWidth;
|
int iWidth = pScreenInfo->dwWidth;
|
||||||
int iHeight = pScreenInfo->dwHeight;
|
int iHeight = pScreenInfo->dwHeight;
|
||||||
HWND *phwnd = &pScreenPriv->hwndScreen;
|
HWND *phwnd = &pScreenPriv->hwndScreen;
|
||||||
|
@ -99,8 +101,8 @@ winCreateBoundingWindowFullScreen (ScreenPtr pScreen)
|
||||||
WINDOW_CLASS, /* Class name */
|
WINDOW_CLASS, /* Class name */
|
||||||
szTitle, /* Window name */
|
szTitle, /* Window name */
|
||||||
WS_POPUP,
|
WS_POPUP,
|
||||||
0, /* Horizontal position */
|
iX, /* Horizontal position */
|
||||||
0, /* Vertical position */
|
iY, /* Vertical position */
|
||||||
iWidth, /* Right edge */
|
iWidth, /* Right edge */
|
||||||
iHeight, /* Bottom edge */
|
iHeight, /* Bottom edge */
|
||||||
(HWND) NULL, /* No parent or owner window */
|
(HWND) NULL, /* No parent or owner window */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user