From 3bdea50bb5ece22ceb2a39e019fefc95ddc5aefe Mon Sep 17 00:00:00 2001 From: dzanotto Date: Wed, 23 Feb 2022 15:14:52 +0100 Subject: [PATCH] Update CGSSpace.h Added CGSMoveWindowsToManagedSpace https://github.com/ianyh/Amethyst/issues/1192 --- CGSSpace.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CGSSpace.h b/CGSSpace.h index 81b65b5..24c67e2 100644 --- a/CGSSpace.h +++ b/CGSSpace.h @@ -137,6 +137,8 @@ CG_EXTERN void CGSAddWindowsToSpaces(CGSConnectionID cid, CFArrayRef windows, CF /// Given an array of window numbers and an array of space IDs, removes each window from each space. CG_EXTERN void CGSRemoveWindowsFromSpaces(CGSConnectionID cid, CFArrayRef windows, CFArrayRef spaces); +CG_EXTERN void CGSMoveWindowsToManagedSpace(CGSConnectionID connection, CFArrayRef windowIds, CGSSpaceID spaceId); + CG_EXTERN CFStringRef kCGSPackagesMainDisplayIdentifier; /// Changes the active space for a given display.