Michael Karcher <[EMAIL PROTECTED]> writes:

> @@ -144,7 +170,7 @@ BOOL X11DRV_CreateDC( HDC hdc, X11DRV_PDEVICE **pdev, 
> LPCWSTR driver, LPCWSTR de
>      else
>      {
>          physDev->bitmap    = NULL;
> -        physDev->drawable  = root_window;
> +        physDev->drawable  = template_window;
>          physDev->depth     = screen_depth;
>          physDev->drawable_rect = virtual_screen_rect;
>          SetRect( &physDev->dc_rect, 0, 0, virtual_screen_rect.right - 
> virtual_screen_rect.left,

This won't work, a screen DC has to be able to paint on the root
window. I'm afraid that supporting different depths properly is pretty
complicated.

-- 
Alexandre Julliard
[EMAIL PROTECTED]


Reply via email to