- Check for the WS_CLIPSIBLINGS flag on the correct window.

svn path=/trunk/; revision=9380
This commit is contained in:
Filip Navara 2004-05-14 16:48:47 +00:00
parent 1f1079ac18
commit fb5a06a8d1

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: vis.c,v 1.28 2004/05/10 17:07:18 weiden Exp $
* $Id: vis.c,v 1.29 2004/05/14 16:48:47 navaraf Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -90,7 +90,7 @@ VIS_ComputeVisibleRegion(
NtGdiCombineRgn(VisRgn, VisRgn, ClipRgn, RGN_AND);
NtGdiDeleteObject(ClipRgn);
if ((CurrentWindow->Style & WS_CLIPSIBLINGS) ||
if ((PreviousWindow->Style & WS_CLIPSIBLINGS) ||
(PreviousWindow == Window && ClipSiblings))
{
IntLockRelatives(CurrentWindow);