http://bugs.winehq.org/show_bug.cgi?id=26277
Summary: D3D fullscreen window does not receive mouse clicks Product: Wine Version: 1.3.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: rain@matfyz.cz
Found on Black & White in latest git, appeared in 1.3.6, bisect below.
After the game starts, it doesn't receive any mouse clicks, although mouse cursor is visible and moving.
Bisected the problem down to:
commit 7e3985e1fea60da73bae2b9465b94e5d110909fc Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Nov 8 11:50:33 2010 +0100
ddraw: Setup the device window in SetCooperativeLevel().
I don't know the code enough to provide a patch (just yet), but I'll try tracking this down. Seems to have something to do with the window not having focus properly set. Help would be appreciated.
http://bugs.winehq.org/show_bug.cgi?id=26277
--- Comment #1 from Zdenek Behan rain@matfyz.cz 2011-03-01 22:33:50 CST --- Created an attachment (id=33498) --> (http://bugs.winehq.org/attachment.cgi?id=33498) Fixes some windows to receive mouse clicks
http://bugs.winehq.org/show_bug.cgi?id=26277
--- Comment #2 from Zdenek Behan rain@matfyz.cz 2011-03-01 22:36:07 CST --- Attached is the relevant part of revert of 7e3985e1fea60da73bae2b9465b94e5d110909fc
This fixes the problem for me. In the original commit, the removal of this is dubious and unexplained, so I can only guess what the original code does. In practice, it has nothing to do with fullscreen or not, the application runs identically regardless of being in a virtual desktop, or freely, it goes fullscreen right after start anyway. The only difference this makes is receiving mouse clicks.
Maybe it's not a perfect solution, but it works for me.
http://bugs.winehq.org/show_bug.cgi?id=26277
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2011-03-02 03:59:57 CST --- Duplicate.
*** This bug has been marked as a duplicate of bug 25417 ***
http://bugs.winehq.org/show_bug.cgi?id=26277
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Henri Verbeet hverbeet@gmail.com 2011-03-02 04:00:51 CST --- Closing duplicate.
http://bugs.winehq.org/show_bug.cgi?id=26277
James Le Cuirot chewi@aura-online.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chewi@aura-online.co.uk
http://bugs.winehq.org/show_bug.cgi?id=26277
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-ddraw |directx-d3d