- More Window Threads issues. Need to finish the window object rewrite!

svn path=/trunk/; revision=41753
This commit is contained in:
James Tabor
2009-07-03 08:03:56 +00:00
parent 5e7a8d3a1a
commit 86fe4eade9
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ VIS_ComputeVisibleRegion(
Wnd = Window->Wnd;
if (!(Wnd->Style & WS_VISIBLE))
if (!Wnd || !(Wnd->Style & WS_VISIBLE))
{
return NULL;
}
@@ -759,6 +759,9 @@ BOOL FASTCALL
WinPosFixupFlags(WINDOWPOS *WinPos, PWINDOW_OBJECT Window)
{
PWINDOW Wnd = Window->Wnd;
if (!Wnd) return FALSE;
if (Wnd->Style & WS_VISIBLE)
{
WinPos->flags &= ~SWP_SHOWWINDOW;