mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:20:38 +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
|
@ -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…
Add table
Add a link
Reference in a new issue