Turn back on the manually minimizing and restoring of our window when using

the ShadowGDI engine in fullscreen mode. We perform the restoring or
    minimizing manually for ShadowGDI in fullscreen modes so that this
    engine will perform just like ShadowDD and ShadowDDNL in fullscreen
    mode; if we do not do this then our fullscreen window will appear in
    the z-order when it is deactivated and it can be uncovered by resizing
    or minimizing another window that is on top of it, which is not how the
    DirectDraw engines work. (Harold L Hunt II - CodeWeavers)
This commit is contained in:
Harold L Hunt II 2004-04-14 00:00:25 +00:00
parent 162a45d3aa
commit 9945bf762a

View file

@ -898,16 +898,20 @@ winBltExposedRegionsShadowGDI (ScreenPtr pScreen)
static Bool
winActivateAppShadowGDI (ScreenPtr pScreen)
{
/*
* 2004/04/10 - Harold - We don't seem to ned to do anything here
* since our window should be z-ordered correctly in fullscreen mode.
*/
return TRUE;
#if 0
winScreenPriv(pScreen);
winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo;
/*
* 2004/04/12 - Harold - We perform the restoring or minimizing
* manually for ShadowGDI in fullscreen modes so that this engine
* will perform just like ShadowDD and ShadowDDNL in fullscreen mode;
* if we do not do this then our fullscreen window will appear in the
* z-order when it is deactivated and it can be uncovered by resizing
* or minimizing another window that is on top of it, which is not how
* the DirectDraw engines work. Therefore we keep this code here to
* make sure that all engines work the same in fullscreen mode.
*/
/*
* Are we active?
* Are we fullscreen?
@ -930,7 +934,6 @@ winActivateAppShadowGDI (ScreenPtr pScreen)
*/
ShowWindow (pScreenPriv->hwndScreen, SW_MINIMIZE);
}
#endif
return TRUE;
}