wayland: Deleted the useless override of -[GSDisplayServer windowlist].

This commit is contained in:
Ivan Vučica 2020-04-25 17:45:11 +01:00
parent c6e9ee857f
commit 67e352b83e
No known key found for this signature in database
GPG key ID: 6E4D7BA2D93CAC9D

View file

@ -1419,27 +1419,6 @@ int NSToWayland(struct window *window, int ns_y)
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
{
NSDebugLog(@"windowdepth");