winex11: Set icon hints on non-managed windows too, since they may become managed later on.

This commit is contained in:
Alexandre Julliard 2008-01-23 16:40:19 +01:00
parent 3ba20257ce
commit 12d1d4041a
1 changed files with 1 additions and 6 deletions

View File

@ -602,12 +602,7 @@ static void set_icon_hints( Display *display, struct x11drv_win_data *data, HICO
data->hWMIconBitmap = 0;
data->hWMIconMask = 0;
if (!data->managed)
{
destroy_icon_window( display, data );
hints->flags &= ~(IconPixmapHint | IconMaskHint | IconWindowHint);
}
else if (!hIcon)
if (!hIcon)
{
if (!data->icon_window) create_icon_window( display, data );
hints->icon_window = data->icon_window;