mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 17:31:33 +00:00
wayland: Deleted the useless override of -[GSDisplayServer windowlist].
This commit is contained in:
parent
c6e9ee857f
commit
67e352b83e
1 changed files with 0 additions and 21 deletions
|
@ -1419,27 +1419,6 @@ int NSToWayland(struct window *window, int ns_y)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Backends can override this method to return an array of window numbers
|
|
||||||
ordered front to back. The front most window being the first object
|
|
||||||
in the array.
|
|
||||||
The default implementation returns the visible windows in an
|
|
||||||
unspecified order.
|
|
||||||
*/
|
|
||||||
- (NSArray *) windowlist
|
|
||||||
{
|
|
||||||
NSMutableArray *list = [NSMutableArray arrayWithArray:[NSApp windows]];
|
|
||||||
int c = [list count];
|
|
||||||
|
|
||||||
while (c-- > 0)
|
|
||||||
{
|
|
||||||
if (![[list objectAtIndex:c] isVisible])
|
|
||||||
{
|
|
||||||
[list removeObjectAtIndex:c];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return [list valueForKey:@"windowNumber"];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (int) windowdepth: (int) win
|
- (int) windowdepth: (int) win
|
||||||
{
|
{
|
||||||
NSDebugLog(@"windowdepth");
|
NSDebugLog(@"windowdepth");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue