Redraw shell background when wallpaper is changed
Modified: trunk/reactos/lib/user32/misc/desktop.c

Modified: trunk/reactos/lib/user32/misc/desktop.c
--- trunk/reactos/lib/user32/misc/desktop.c	2005-02-08 01:55:04 UTC (rev 13463)
+++ trunk/reactos/lib/user32/misc/desktop.c	2005-02-08 12:35:44 UTC (rev 13464)
@@ -177,7 +177,7 @@
           }
         }
 
-        RedrawWindow(GetDesktopWindow(), NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW);
+        RedrawWindow(GetShellWindow(), NULL, NULL, RDW_INVALIDATE | RDW_ERASE);
 
         return Ret;
       }
@@ -280,7 +280,7 @@
         }
       }
 
-      RedrawWindow(GetDesktopWindow(), NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW);
+      RedrawWindow(GetShellWindow(), NULL, NULL, RDW_INVALIDATE | RDW_ERASE);
 
       return Ret;
     }