bigbearlabs / SpaceSwitcher

macOS space switcher library
30 stars 1 forks source link

Help offer #1

Open mamiksik opened 6 years ago

mamiksik commented 6 years ago

Hi, I am developing an app that requires to be able to move windows across spaces and also to add, delete and change current spaces. I searched all across the internet to find usable spaces library without any luck.

I was at the point of writing my own when I discovered your project in chunkwm issue discussion. It looks promising and I would like to help you to develop this library. Are you up for codevelop?

Martin.

sohocoke commented 6 years ago

Hi Martin,

Of course I would be happy for any help to improve the library, thanks for the offer.

If you have any specific features you would like to add, feel free to open new issues, then I can share any relevant info if I’ve already looked into it. Or you could just fork and send me PR’s I’d thats easier.

mamiksik commented 6 years ago

Great! Basically, I need whole section 'full cheats' layer (coming soon). Could you direct me where to start with any of the bullet points?

mamiksik commented 6 years ago

Update: With calling CGSSpaceCreate(conn, 0x2, 0x0); and restarting dock manualy I am able to create new space.

sohocoke commented 6 years ago

I'll push work-in-progress code or the 'full cheats' layer onto a branch, once I'm back from travelling.

I heard of the requirement with CGSpaceCreate to have to restart the dock from the one of the discussions for chunkwm. Last time I tested the method, restarting the dock resulted in all minimised windows being thrown out to the current desktop. Did you also see this?

mamiksik commented 5 years ago

Sorry for the late answer. Nope, I did not experience that.

sohocoke commented 5 years ago

@mamiksik It took me a while but I finally did enough tidying to commit previous work that uses the CGS private API for spaces business in a branch. Check it out at https://github.com/bigbearlabs/SpaceSwitcher/tree/feature/switcher-impl-using-cg-private-api

sohocoke commented 5 years ago

@mamiksik Did you find above branch useful in any way?