mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-30 11:40:23 +01:00
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:
parent
162a45d3aa
commit
9945bf762a
1 changed files with 11 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue