puffnfresh / toggle-osx-shadows

Tiny tool to toggle window shadows on OS X
410 stars 27 forks source link

Cannot restore drop shadows #12

Closed alienlike closed 9 years ago

alienlike commented 9 years ago

The tool works in one direction only (i.e., to remove drop shadows). Running it again does not restore them as advertised. I would fix it myself if I knew more about C, but alas I don't.

puffnfresh commented 9 years ago

Try changing this line:

https://github.com/puffnfresh/toggle-osx-shadows/blob/master/main.c#L14

To:

options = kCGSDebugOptionNone;
alienlike commented 9 years ago

Thanks for the suggestion. I actually tried that with no apparent success, but the drop shadows returned after I logged out and logged back in. It seems that for whatever reason disabling drop shadows takes effect immediately, but enabling them again requires a logout/login cycle. I'm on Yosemite FWIW.

ialexryan commented 9 years ago

Recommend closing this issue, clarification has been added to the README with the above commit. Cheers!