Commit 12d1d404 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 3ba20257
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment