Don't touch icon positions when the icon manager is not used, so that

any icon placement performed by the user does not get lost when a
miniwindow is deminiaturized.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29427 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2010-01-27 23:43:41 +00:00
parent fc16eea0dd
commit 460f7f7c39
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2010-01-28 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSIconManager.m (GSGetIconFrame): Don't touch icon
positions when the icon manager is not used, so that any icon
placement performed by the user does not get lost when a
miniwindow is deminiaturized.
2010-01-27 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSTextView.m (smartLeftChars, smartRightChars, +initialize,

View file

@ -132,10 +132,8 @@ GSGetIconFrame(NSWindow *window)
}
else
{
NSSize iconSize;
iconSize = [GSCurrentServer() iconSize];
iconRect = NSMakeRect(0, 0, iconSize.height, iconSize.width);
iconRect = [window frame];
iconRect.size = [GSCurrentServer() iconSize];
}
return iconRect;