Hi!
I just tested your patch and it works okay! I'll wait for the rest before I commit
your patch!
Good Job!
James
Sebastiaan Roodenburg wrote:
Hi!
I've set up a build environment, and tested my suggested fix. I had to add a
check for a vaild clipping region to get it to work, but this patch fixes
the problem:
Index: desktop.c
===================================================================
--- desktop.c (revision 20928)
+++ desktop.c (working copy)
@@ -1274,11 +1274,12 @@
if (WinSta->WallpaperMode == wmStretch)
{
- NtGdiStretchBlt(hDC,
- x,
- y,
- Rect.right,
- Rect.bottom,
+ if(Rect.right && Rect.bottom)
+ NtGdiStretchBlt(hDC,
+ x,
+ y,
+ sz.cx,
+ sz.cy,
hWallpaperDC,
0,
0,
Regards,
Sebastiaan