winex11.drv: map_window should honor iconic state

Alexandre Julliard julliard at winehq.org
Wed Feb 9 14:29:11 CST 2011


Alexander Lakhin <exclusion at gmail.com> writes:

> +    data->iconic = (new_style & WS_MINIMIZE) != 0;
> +
>      if (!data->embedded)
>      {
>          update_net_wm_states( display, data );
>          sync_window_style( display, data );
>          wine_tsx11_lock();
>          XMapWindow( display, data->whole_window );
> +        if (data->iconic)
> +            XIconifyWindow( display, data->whole_window, DefaultScreen(display) );

This is handled by setting the initial window state in the wm hints. If
there's somewhere that the state isn't set correctly, that's what should
be fixed.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list