mrbrdo/LoLlock — pull request #1 by pkamb (2012-07-05 17:04:07+00:00)
Title: Assign CGSetLocalEventSuppressionInterval back to its default value

Assign CGSetLocalEventSuppressionInterval back to its default value after every CGWarpMouseCursorPosition.

Apple says: "CGSetLocalEventSuppressionInterval - This function is not recommended for general use because of undocumented special cases and undesirable side effects."

By directly wrapping the Warps with the SuppressionInterval change, the suppression interval is only briefly modified for the app's "fake" mouse warp movements... avoiding any "undocumented special cases and undesirable side effects."