mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +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
|
@ -12,6 +12,7 @@
|
|||
userinfo dictionry really are there.
|
||||
* Source/NSApplication.m: Code more defensively setting up
|
||||
notification info.
|
||||
Honor the NSWindow -canHide method when hiding the application.
|
||||
* Source/GSServicesManager.m: Improve handling of incoming messages,
|
||||
prohibit remote processes from calling private methods.
|
||||
* Source/NSWindow.m:
|
||||
|
|
|
@ -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…
Reference in a new issue