mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
* Source/NSApplication.m (_appIconInit): take into account main screen
origin when placing application icon.
This commit is contained in:
parent
344a4bbaf8
commit
fe1cf36de0
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2020-02-20 Sergii Stoian <stoyan255@gmail.com>
|
||||
|
||||
* Source/NSApplication.m (_appIconInit): take into account main screen
|
||||
origin when placing application icon.
|
||||
|
||||
2020-02-09 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSFontDescriptor.m: Correct key for encoding and decoding.
|
||||
|
|
|
@ -3896,6 +3896,7 @@ struct _DelegateWrapper
|
|||
|
||||
iconContentRect = GSGetIconFrame(_app_icon_window);
|
||||
iconFrame = [_app_icon_window frameRectForContentRect: iconContentRect];
|
||||
iconFrame.origin = [[NSScreen mainScreen] frame].origin;
|
||||
iconViewFrame = NSMakeRect(0, 0,
|
||||
iconContentRect.size.width, iconContentRect.size.height);
|
||||
[_app_icon_window setFrame: iconFrame display: YES];
|
||||
|
|
Loading…
Reference in a new issue