http://bugs.winehq.org/show_bug.cgi?id=2467
--- Comment #134 from Pablo Castellano pablog.ubuntu@gmail.com 2010-08-17 15:45:49 --- (In reply to comment #131)
Created an attachment (id=29467)
--> (http://bugs.winehq.org/attachment.cgi?id=29467) [details]
hack for battle.net menus
The attached patch is a hack that fixes the problem (at least for me).
As stated in comment #129 the controls in battle.net menus are painted directly to the screen by locking the primary ddraw surface. In wine's implementation the primary surface ends up hidden under battle.net windows (see comment #111).
This hack blits from the primary surface to the foreground window every time the primary surface gets updated. This is obviously very slow but does the trick.
Please note that this is not a fix, it's only an ugly workaround made specifically for this wonderful game. I've tested the patch on wine 1.0.1 (debian testing) and wine 1.2rc6, is there anyone willing to test it further?
Patch applies to HEAD and works perfectly here :). Tested under Debian testing and wine git (wine-1.3.0-266-g1a1ffe6).
Go ahead!