mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:46:18 +00:00
- Minor correction
svn path=/trunk/; revision=8287
This commit is contained in:
parent
717c7d0333
commit
391292e419
2 changed files with 4 additions and 5 deletions
|
@ -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: painting.c,v 1.68 2004/02/21 13:13:26 navaraf Exp $
|
||||
* $Id: painting.c,v 1.69 2004/02/21 13:51:13 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -505,8 +505,7 @@ IntRedrawWindow(PWINDOW_OBJECT Window, const RECT* UpdateRect, HRGN UpdateRgn,
|
|||
* Repaint and erase windows if needed.
|
||||
*/
|
||||
|
||||
if ((Flags & (RDW_ERASENOW | RDW_UPDATENOW)) &&
|
||||
IntIsWindowVisible(Window))
|
||||
if (Flags & (RDW_ERASENOW | RDW_UPDATENOW))
|
||||
{
|
||||
IntPaintWindows(Window, Flags);
|
||||
}
|
||||
|
|
|
@ -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: winpos.c,v 1.94 2004/02/21 13:37:26 gvg Exp $
|
||||
/* $Id: winpos.c,v 1.95 2004/02/21 13:51:13 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -1022,7 +1022,7 @@ WinPosSetWindowPos(HWND Wnd, HWND WndInsertAfter, INT x, INT y, INT cx,
|
|||
NtGdiDeleteObject(VisAfter);
|
||||
}
|
||||
|
||||
if (!(WinPos.flags & SWP_NOREDRAW))
|
||||
if (!(WinPos.flags & SWP_NOREDRAW) && IntIsWindowVisible(Window))
|
||||
{
|
||||
IntRedrawWindow(Window, NULL, 0, RDW_ALLCHILDREN | RDW_ERASENOW);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue