Fix originally created by Leo Binchy for Sun to fix Solaris bug 1243761 The XmNiconic resource doesn't work
Signed-off-by: Alan Coopersmith <[email protected]> --- 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; } -- 1.7.3.2 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
