mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 04:36:40 +00:00
- Added some strange behaviour to VIS_ComputeVisibleRegion.
- Draw windows from foreground to background in IntFindWindowToRepaint, because it causes problems otherwise. svn path=/trunk/; revision=8315
This commit is contained in:
parent
b716aa0265
commit
e8cc37fcec
2 changed files with 5 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*
|
*
|
||||||
* $Id: painting.c,v 1.71 2004/02/21 23:30:18 navaraf Exp $
|
* $Id: painting.c,v 1.72 2004/02/22 16:56:14 navaraf Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -560,7 +560,7 @@ IntFindWindowToRepaint(HWND hWnd, PW32THREAD Thread)
|
||||||
}
|
}
|
||||||
|
|
||||||
ExAcquireFastMutex(&Window->ChildrenListLock);
|
ExAcquireFastMutex(&Window->ChildrenListLock);
|
||||||
for (Child = Window->LastChild; Child; Child = Child->PrevSibling)
|
for (Child = Window->FirstChild; Child; Child = Child->NextSibling)
|
||||||
{
|
{
|
||||||
if (IntIsWindowDirty(Child) &&
|
if (IntIsWindowDirty(Child) &&
|
||||||
IntWndBelongsToThread(Child, Thread))
|
IntWndBelongsToThread(Child, Thread))
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*
|
*
|
||||||
* $Id: vis.c,v 1.18 2004/02/22 12:25:34 navaraf Exp $
|
* $Id: vis.c,v 1.19 2004/02/22 16:56:14 navaraf Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -82,7 +82,8 @@ VIS_ComputeVisibleRegion(
|
||||||
NtGdiCombineRgn(VisRgn, VisRgn, ClipRgn, RGN_AND);
|
NtGdiCombineRgn(VisRgn, VisRgn, ClipRgn, RGN_AND);
|
||||||
NtGdiDeleteObject(ClipRgn);
|
NtGdiDeleteObject(ClipRgn);
|
||||||
|
|
||||||
if (ClipSiblings)
|
if ((CurrentWindow->Style & WS_CLIPSIBLINGS) ||
|
||||||
|
(PreviousWindow == Window && ClipSiblings))
|
||||||
{
|
{
|
||||||
ExAcquireFastMutexUnsafe(&CurrentWindow->ChildrenListLock);
|
ExAcquireFastMutexUnsafe(&CurrentWindow->ChildrenListLock);
|
||||||
CurrentSibling = CurrentWindow->FirstChild;
|
CurrentSibling = CurrentWindow->FirstChild;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue