Disable (or filter) hot corners
1 answer
I think the answer is "really".
The app has some options for itself, but that doesn't match your desire to do it in a background app to affect another app. These options include capturing the display (s) and possibly adjusting presentation options ( -[NSApplication setPresentationOptions:]
).
You can try to set up the "Quartz Event" and just internalize any mouse movement event that is (or will go outside) the screen corner (s). I don't know if you want to turn off all hot corners or just those corners assigned to a specific function. You can query hot corners using AppleScripts as shown below. Translating this script into a script bridge is left as an exercise for the reader:
tell application "System Events"
get activity of top left screen corner of expose preferences
end tell
+1
source to share