diff options
-rw-r--r-- | src/Shell.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Shell.c b/src/Shell.c index ef6dad2..8a44651 100644 --- a/src/Shell.c +++ b/src/Shell.c @@ -2482,6 +2482,10 @@ static Boolean TopLevelSetValues( XFree((XPointer)icon_name.value); } } + else if (new->topLevel.iconic != old->topLevel.iconic) { + if (new->topLevel.iconic) + new->wm.wm_hints.initial_state = IconicState; + } return False; } |