mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 20:37:39 +00:00
Honor [NSWindow-canHide[ in [NSApplication-hide:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22423 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a9df2a9da4
commit
5a064c4e39
2 changed files with 5 additions and 0 deletions
|
@ -2226,6 +2226,10 @@ image.</p><p>See Also: -applicationIconImage</p>
|
|||
{
|
||||
continue; /* Already invisible */
|
||||
}
|
||||
if ([win canHide] == NO)
|
||||
{
|
||||
continue; /* Not hideable */
|
||||
}
|
||||
if (win == _app_icon_window)
|
||||
{
|
||||
continue; /* can't hide the app icon. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue