diff options
author | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2006-03-22 18:44:26 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2006-03-22 18:44:26 +0000 |
commit | a08e5e0c68baaf85b0fc3ecde74a6bcf80bcd4bf (patch) | |
tree | dc6af339f4d81fd1909aec274209544fc72160df /mi | |
parent | 966d93ef6d1f2ed02f3b81b5bf5a1ebbdd48c93d (diff) |
Wed Mar 22 13:42:44 2006 Søren Sandmann <sandmann@redhat.com>
Patch by Keith Packard to make sure redirected windows don't get considered
"FullyObscured".
Diffstat (limited to 'mi')
-rw-r--r-- | mi/mivaltree.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/mi/mivaltree.c b/mi/mivaltree.c index dd3214524..08ad4acae 100644 --- a/mi/mivaltree.c +++ b/mi/mivaltree.c @@ -1,5 +1,5 @@ /* $Xorg: mivaltree.c,v 1.4 2001/02/09 02:05:22 xorgcvs Exp $ */ -/* $XdotOrg: xserver/xorg/mi/mivaltree.c,v 1.6 2005/07/03 07:01:51 daniels Exp $ */ +/* $XdotOrg: xserver/xorg/mi/mivaltree.c,v 1.7 2006/02/15 19:05:54 ajax Exp $ */ /* * mivaltree.c -- * Functions for recalculating window clip lists. Main function @@ -240,6 +240,18 @@ miComputeClips ( dy = 32767; borderSize.y2 = dy; +#ifdef COMPOSITE + /* + * In redirected drawing case, reset universe to borderSize + */ + if (pParent->redirectDraw) + { + if (miSetRedirectBorderClipProc) + (*miSetRedirectBorderClipProc) (pParent, universe); + REGION_COPY(pScreen, universe, &pParent->borderSize); + } +#endif + oldVis = pParent->visibility; switch (RECT_IN_REGION( pScreen, universe, &borderSize)) { @@ -279,18 +291,6 @@ miComputeClips ( ((pParent->eventMask | wOtherEventMasks(pParent)) & VisibilityChangeMask)) SendVisibilityNotify(pParent); -#ifdef COMPOSITE - /* - * In redirected drawing case, reset universe to borderSize - */ - if (pParent->redirectDraw) - { - if (miSetRedirectBorderClipProc) - (*miSetRedirectBorderClipProc) (pParent, universe); - REGION_COPY(pScreen, universe, &pParent->borderSize); - } -#endif - dx = pParent->drawable.x - pParent->valdata->before.oldAbsCorner.x; dy = pParent->drawable.y - pParent->valdata->before.oldAbsCorner.y; |