One of the minor annoyances of Emacs on the Mac is that it’s easy to inadvertently scroll an Emacs window even if Emacs doesn’t have focus. Usually this happens when I’m working in a browser or in Reeder and I use the trackpad to try to scroll the display but the cursor is sitting on an Emacs window. I tried turning off the scroll bar but the window would still scroll if the cursor was in it.
The other day I was looking through Magnar Sveen’s emacs.d and discovered the answer. All you need do is add
As I say, it’s a minor thing but if you too are bothered by it, now you know what to do.