Patch by Sebastiaan Roodenburg. Fixes problem in NtGdiStrechBlt. Modified: trunk/reactos/subsys/win32k/ntuser/desktop.c _____
Modified: trunk/reactos/subsys/win32k/ntuser/desktop.c --- trunk/reactos/subsys/win32k/ntuser/desktop.c 2006-01-18 22:02:44 UTC (rev 20945) +++ trunk/reactos/subsys/win32k/ntuser/desktop.c 2006-01-19 03:25:51 UTC (rev 20946) @@ -1274,18 +1274,20 @@
if (WinSta->WallpaperMode == wmStretch) { - NtGdiStretchBlt(hDC, - x, - y, - Rect.right, - Rect.bottom, - hWallpaperDC, - 0, - 0, + if(Rect.right && Rect.bottom) + NtGdiStretchBlt(hDC, + x, + y, + sz.cx, + sz.cy, + hWallpaperDC, + 0, + 0, WinSta->cxWallpaper, WinSta->cyWallpaper, SRCCOPY, 0); + } else if (WinSta->WallpaperMode == wmTile) {