[1/3] winex11: Splitted functions X11DRV_FocusOut (try 2)

Alexandre Julliard julliard at winehq.org
Mon Sep 23 12:45:52 CDT 2013


Sebastian Lackner <sebastian at fds-team.de> writes:

>   - when "virtually" reparenting the plugin window as a child of a
> "foreign" window (similar to the systray code) its not possible to get
> the focus anymore - the focus code always tries to request the focus for
> the WS_POPUP parent, which is a foreign window in this case, and thus
> fails. I don't see an easy way to detect/handle if a window is embedded
> from user32-code without changing a lot of stuff there - thats why
> Pipelight creates the plugin window as a WS_POPUP and makes wine think
> it doesn't have any parent (which only has the disadvantage that wine
> cannot track the correct window position).

I think you really should make it work like the systray and keep track
of the hierarchy. You'll run into a lot of hard to fix bugs otherwise.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list