[Bug 38765] VMR9 steals focus from within Wine

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 17 05:01:23 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38765

--- Comment #3 from Jason <jasonwinter at hotmail.com> ---
After reading the Win32 doco, I now understand why SetWindowPos is being called
in put_WindowStyle, but I now notice that call in strmbase/window.c is missing
SWP_NOMOVE in Wine.

The other thing that's confusing is, all these calls have SWP_NOZORDER and the
doco isn't clear how this operates without SWP_NOACTIVATE.

The doco says an app can't activate an inactive window without bringing it to
the top of the z-order, but SWP_NOZORDER only says it retains the z-order by
ignoring the input parameter insert-after.

I don't know how it's meant to work, but perhaps Wine's SetWindowPos is a
little bit broken?  I.E. Maybe the coder of vmr9.c assumed that no-zorder also
meant no-activate, since that makes sense now, but it is being activated.

I give in.

-- 
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