winex11.drv: send WM_MOUSEACTIVATE before closing a window (try
dmitry at codeweavers.com
Tue Jun 19 01:32:39 CDT 2007
"Lei Zhang" <thestig at google.com> wrote:
>> We already send WM_MOUSEACTIVATE message on a take focus X11 event, so
>> I don't see a point in duplicating it. On the other hand if a WM doesn't
>> activate a window when a user clicks on window's caption (where the close
>> button usually placed) then it's a WM bug and we can do nothing to fix it.
> Are you sure a WM activates a window before sending the message to
> close the window in reaction to the close button click event? If so,
> then both Gnome and KDE would be buggy because the sample app I wrote
> did not receive them with either of their WMs, nor did I see the code
> that sends WM_MOUSEACTIVATE get called.
I know that neither KDE nor Gnome do not activate a window if a user clicks
on the window caption buttons, that's their bug IMO, not Wine's one.
More information about the wine-devel