diff --git a/tiling.js b/tiling.js index 3e00a99b..d350ed07 100644 --- a/tiling.js +++ b/tiling.js @@ -4792,7 +4792,7 @@ export function animateWindow(metaWindow) { export function isWindowAnimating(metaWindow) { let clone = metaWindow.clone; - return clone.get_parent() && clone.cloneActor.visible; + return clone?.get_parent() && clone?.cloneActor.visible; } export function toggleMaximizeHorizontally(metaWindow) {