From 67e352b83e377aa87719cac5a2f17901f83d4ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Vu=C4=8Dica?= Date: Sat, 25 Apr 2020 17:45:11 +0100 Subject: [PATCH] wayland: Deleted the useless override of -[GSDisplayServer windowlist]. --- Source/wayland/WaylandServer.m | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/Source/wayland/WaylandServer.m b/Source/wayland/WaylandServer.m index 9fd4456..fc2d398 100644 --- a/Source/wayland/WaylandServer.m +++ b/Source/wayland/WaylandServer.m @@ -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");