()
| 214 | } |
| 215 | |
| 216 | export function animateWindows() { |
| 217 | let ws = getScratchWindows().filter(w => !w.minimized); |
| 218 | ws = global.display.sort_windows_by_stacking(ws); |
| 219 | for (let w of ws) { |
| 220 | // let parent = w.clone.get_parent(); |
| 221 | // parent && parent.remove_child(w.clone); |
| 222 | Utils.actor_remove_parent(w.clone); |
| 223 | |
| 224 | Main.uiGroup.insert_child_above(w.clone, global.window_group); |
| 225 | let f = w.get_frame_rect(); |
| 226 | w.clone.set_position(f.x, f.y); |
| 227 | Tiling.animateWindow(w); |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | export function showWindows() { |
| 232 | let ws = getScratchWindows().filter(w => !w.minimized); |
nothing calls this directly
no test coverage detected