From ead52a22789d7c9f6f6ea14cb568669382fb1230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Tue, 8 Feb 2005 12:35:44 +0000 Subject: [PATCH] Redraw shell background when wallpaper is changed svn path=/trunk/; revision=13464 --- reactos/lib/user32/misc/desktop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/user32/misc/desktop.c b/reactos/lib/user32/misc/desktop.c index 52e6a8a18a5..f6aaffc6ad5 100644 --- a/reactos/lib/user32/misc/desktop.c +++ b/reactos/lib/user32/misc/desktop.c @@ -177,7 +177,7 @@ SystemParametersInfoA(UINT uiAction, } } - RedrawWindow(GetDesktopWindow(), NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW); + RedrawWindow(GetShellWindow(), NULL, NULL, RDW_INVALIDATE | RDW_ERASE); return Ret; } @@ -280,7 +280,7 @@ SystemParametersInfoW(UINT uiAction, } } - RedrawWindow(GetDesktopWindow(), NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW); + RedrawWindow(GetShellWindow(), NULL, NULL, RDW_INVALIDATE | RDW_ERASE); return Ret; }