Re: (X11 Series 2/3) Fix handling of non-default visuals
18 Mar
2008
18 Mar
'08
11:53 a.m.
Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de> 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 julliard(a)winehq.org
6482
Age (days ago)
6482
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard