RFC: XEmbed Systray Patches

Alexandre Julliard julliard at winehq.org
Tue Aug 15 02:39:03 CDT 2006


James Liggett <jrliggett at cox.net> writes:

> +            {
> +                if ((X11DRV_get_systray_window( display ) == None) ||
> +                    (!(ex_style & WS_EX_TRAYWINDOW)))
> +                    {
> +                        XMapWindow( display, data->whole_window );
> +                    }

You don't want to add more dependencies on the WS_EX_TRAYWINDOW style,
it will have to be removed sooner or later. Also there's no reason to
do the mapping check at such a low level, since it's a window we
control you can simply avoid calling ShowWindow on it.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list