[Bug 2467] starcraft doesn't display battle.net menus correctly
http://bugs.winehq.org/show_bug.cgi?id=2467 --- Comment #132 from Thomas <kronisk(a)hotmail.com> 2010-07-14 02:39:12 --- (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?
I'm using StarCraft regularly on the iCCup server, so I'd love to test it for you for future releases. I'm using wine 1.2rc7, and your patch works! Thanks alot for the patch, I sure do love neatness :) -- 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.
participants (1)
-
wine-bugs@winehq.org