http://bugs.winehq.org/show_bug.cgi?id=8706
Summary: incorrect window behavior in responses to WM_MOUSEACTIVATE Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: wine-x11driver AssignedTo: wine-bugs@winehq.org ReportedBy: thestig@google.com
I have a test program with two windows. The parent window has a custom window procedure that handles WM_MOUSEACTIVATE. Depending on the selection in the child window, the parent window can respond to WM_MOUSEACTIVATE with: MA_ACTIVATE, MA_ACTIVATEANDEAT, MA_NOACTIVATE, MA_NOACTIVATEANDEAT.
On Windows, with focus on the child window: 1) MA_NOACTIVATEANDEAT prevents the parent window from getting focus when the parent window's title bar is clicked 2) MA_NOACTIVATE and MA_NOACTIVATEANDEAT prevents the parent window from getting focus when the parent window is clicked 3) MA_ACTIVATEANDEAT and MA_NOACTIVATEANDEAT prevents the parent window from being closed when the parent window's close (X) button is clicked
On Wine, all three of these cases fail.