Skip to content

Conversation

Melonchanism
Copy link

In macOS Tahoe, apple seems to have removed ECMaterialLayer, causing the swizzling on that class to no longer work. Since ECMaterialLayer's superclass is CALayer, we can swizzle that instead. I also found a more modern way to determine if the CALayer, in [CALayer setFrame:] is indeed the desktop switcher, and also check if the subLayers are initialized.

I do not have access to any Macs that run older versions, and that is why I recommend that several people on older os versions test this, and if this doesn't work, then use conditional code instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant