Clicking in a window brings it to front, does not always transfer focus
Since upgrading to El Capitan (and moving to a Retina 5K iMac, though I think that is less likely to be a factor), I’m noticing a lot of cases where clicking the trackpad brings a window to the front, but doesn’t give it focus. This seems to happen most often with Safari, but also with Terminal, and I think I’ve had it happen with BBEdit. The issue is quite obvious when it does happen in Safari — the window doesn’t get the foreground highlight (the grey gradient in the title bar), using command-L to move to the URL occurs in the previously-selected window, and general typing goes into the wrong window.
I’ve got the new Magic Trackpad, but I don’t think that should matter — I’m definitely not force-clicking, and there isn’t any gesture so far as I know which would bring a window to the front without giving it focus.
Is anyone else seeing this? I don’t think I have any system extensions or utility software installed which would affect this, but I did migrate from an older system, so it’s possible that something slipped through.
iMac (Retina 5K, 27-inch, Late 2015), OS X El Capitan (10.11.1), 4 GHz i7, 32 GB, dual monitor
