mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
winex11: Set icon hints on non-managed windows too, since they may become managed later on.
This commit is contained in:
parent
3ba20257ce
commit
12d1d4041a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user