From 1c40bdb20e9105404e3fda75782e5170dc46ca27 Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Mon, 18 Mar 2024 22:20:57 +1100 Subject: [PATCH] docs space: adding missing `.next()` call in example. --- docs/docs/api/space.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/api/space.md b/docs/docs/api/space.md index 9fbfc6d5..19fefe83 100644 --- a/docs/docs/api/space.md +++ b/docs/docs/api/space.md @@ -57,7 +57,7 @@ See [Events](events#space) for a list of available events for Space. // Move focused window to the next space and focus to the space (macOS 12.0+) const space = Space.active(); const window = Window.focused(); -space.moveWindows([window]); +space.next().moveWindows([window]); window.focus(); // Move focused window to the next space and focus to the space (< macOS 12.0)