[Bug 2467] starcraft doesn't display battle.net menus correctly

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jul 9 13:47:41 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=2467





--- Comment #131 from Matteo <bugs.kendatsuba at gmail.com>  2010-07-09 13:47:38 ---
Created an attachment (id=29467)
 --> (http://bugs.winehq.org/attachment.cgi?id=29467)
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?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list