(space, windows)
| 5560 | in @space.cloneContainer. |
| 5561 | */ |
| 5562 | export function sortWindows(space, windows) { |
| 5563 | if (windows.length === 1) |
| 5564 | return windows; |
| 5565 | let clones = windows.map(w => w.clone); |
| 5566 | return space.cloneContainer.get_children() |
| 5567 | .filter(c => clones.includes(c)) |
| 5568 | .map(c => c.meta_window); |
| 5569 | } |
| 5570 | |
| 5571 | export function rotated(list, dir = 1) { |
| 5572 | return [].concat( |
no outgoing calls
no test coverage detected