http://bugs.winehq.org/show_bug.cgi?id=2082
------- Additional Comments From saulius.krasuckas@elst.vtu.lt 2006-19-06 05:29 ------- Created an attachment (id=2673) --> (http://bugs.winehq.org/attachment.cgi?id=2673&action=view) patch which makes Diablo menu happy after DDraw rewrite
After the DDraw rewrite [8] old menu hack isn't possible to apply. This is updated and somewhat working hack:
--- a/dlls/wined3d/surface_gdi.c +++ b/dlls/wined3d/surface_gdi.c @@ -60,7 +60,7 @@ x11_copy_to_screen(IWineD3DSurfaceImpl *
hSurfaceDC = This->hDC;
- hDisplayWnd = This->resource.wineD3DDevice->ddraw_window; + hDisplayWnd = GetDesktopWindow(); hDisplayDC = GetDCEx(hDisplayWnd, 0, DCX_CLIPSIBLINGS|DCX_CACHE); if(rc) {
[8]http://source.winehq.org/git/?p=wine.git;a=commit;h=c8901d6f6253f6c97610eb10...