4 ms·
So OS X can have window managers? Are there any already?
by listic 11y ago
So OS X can have window managers? Are there any already?
- sdegutis 11y agoKind of. You can do it with Apple's Accessibility APIs, but lately they're making that harder and harder. Apps that use those APIs can't be put on the app store, and there's no automated way to give an app permissions to use Accessibility: the user has to go deep into the System Preferences panel to enable it. And even then, the APIs, which aren't quite meant for window-managing, are very limited and sometimes don't work like you'd want them to. I forget how specifically, but I've written about a dozen of them so far and it's not a super pleasant experience. It's a little nicer in Swift, because you get to wrap the ugly C APIs in Swift using generics.
- sdegutis 11y agoAlso, iTunes tends to crash your program if you try moving/resizing it via Apple's Accessibility API if you're playing a video in it.
- cmiller1 11y agoTechnically you can run any of the window managers you use for Linux or BSD on top of X11, but you can only run *nix software, not Mac specific software, in those windows.