Skip to content

Request for help in replicating window to next space #2621

Closed Answered by koekeishiya
ospfranco asked this question in Q&A
Discussion options

You must be logged in to vote

So the function you are calling ..SetWindowListWorkspace was a workaround I kept around for years and applied when Apple added protections to the functions that I was originally using. Shortly after I made it public (the next macOS patch) they removed that functionality and replaced it with a stub in the WindowServer. Not sure me making it public was the trigger to fix it, but the timing seems suspicious to me anyway.

To use the functions that Apple made protected, you need to be in control of the "universal owner" WindowServer connection.
Yabai does this by injecting code into Dock.app (which requires disabling certain parts of SIP) and then uses those APIs.

Other software that can move …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ospfranco
Comment options

@ospfranco
Comment options

Answer selected by koekeishiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants