mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 06:00:37 +00:00
Only add windows that are either visible or miniaturized.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29117 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
483044e48c
commit
cacdad6f44
2 changed files with 8 additions and 2 deletions
|
@ -3121,7 +3121,8 @@ image.</p><p>See Also: -applicationIconImage</p>
|
|||
{
|
||||
NSWindow *win = [windows objectAtIndex: i];
|
||||
|
||||
if ([win isExcludedFromWindowsMenu] == NO)
|
||||
if (([win isExcludedFromWindowsMenu] == NO)
|
||||
&& ([win isVisible] || [win isMiniaturized]))
|
||||
{
|
||||
NSString *t = [win title];
|
||||
NSString *f = [win representedFilename];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue