Fix Tooltip from minimized clients

Bug #3678 (Colin Harrison)
This commit is contained in:
Alan Hourihane 2006-12-11 14:50:08 +00:00
parent fb8364bca3
commit 27d4b84f26

View File

@ -982,11 +982,10 @@ winAdjustXWindow (WindowPtr pWin, HWND hwnd)
/* /*
* If the Windows window is minimized, its WindowRect has * If the Windows window is minimized, its WindowRect has
* meaningless values so we don't adjust X window to it. * meaningless values so we don't adjust X window to it.
* Instead we put the X window to the bottom in Z order to
* be obscured by other windows.
*/ */
vlist[0] = Below; vlist[0] = 0;
return ConfigureWindow (pWin, CWStackMode, vlist, wClient(pWin)); vlist[1] = 0;
return ConfigureWindow (pWin, CWX | CWY, vlist, wClient(pWin));
} }
pDraw = &pWin->drawable; pDraw = &pWin->drawable;