mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Search child list for windows to be repainted
svn path=/trunk/; revision=4371
This commit is contained in:
parent
6088c8a758
commit
43ff81f72d
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: painting.c,v 1.10 2003/03/20 08:22:01 gvg Exp $
|
/* $Id: painting.c,v 1.11 2003/03/20 10:10:12 gvg Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -584,11 +584,11 @@ PaintingFindWinToRepaint(HWND hWnd, PW32THREAD Thread)
|
||||||
}
|
}
|
||||||
|
|
||||||
ExAcquireFastMutex(&BaseWindow->ChildrenListLock);
|
ExAcquireFastMutex(&BaseWindow->ChildrenListLock);
|
||||||
current_entry = Thread->WindowListHead.Flink;
|
current_entry = BaseWindow->ChildrenListHead.Flink;
|
||||||
while (current_entry != &Thread->WindowListHead)
|
while (current_entry != &BaseWindow->ChildrenListHead)
|
||||||
{
|
{
|
||||||
Window = CONTAINING_RECORD(current_entry, WINDOW_OBJECT,
|
Window = CONTAINING_RECORD(current_entry, WINDOW_OBJECT,
|
||||||
ThreadListEntry);
|
ChildrenListHead);
|
||||||
if (Window->Style & WS_VISIBLE)
|
if (Window->Style & WS_VISIBLE)
|
||||||
{
|
{
|
||||||
hFoundWnd = PaintingFindWinToRepaint(Window->Self, Thread);
|
hFoundWnd = PaintingFindWinToRepaint(Window->Self, Thread);
|
||||||
|
|
Loading…
Reference in a new issue