macOS windows requiring an explicit click to make active, before UI elements inside can be clicked
Solution 1:
The answer, in general, is "no". There are some exceptions/workarounds though, for example:
- You can click through to any control in an unfocused window using Cmd-Click. This will directly operate that control without focusing the window, which might save you a click in your side-by-side browser window scenario. Unfortunately it's up to each application developer to make this work sensibly, and some unfocused applications will still perform any special action assigned to Cmd-Click, rather than treating it as a simple click.
- In Terminal.app, Cmd-Right Click will paste the contents of the primary selection (the last text you highlighted in any terminal window) into the same or another terminal, whether that terminal is focused or not.
- Specifically for X11 applications running under XQuartz.app (which isn't very many these days), you can specify the "focus follow mouse" option so that X11 windows are focused as you mouse over them. (There also used be a hidden focus-follows-mouse option for Terminal.app windows, don't know if it still works in El Capitan or Sierra.)
Solution 2:
I know this is kind of an old thread but for anybody still looking, I found a great tool called yabai.
Here is the GitHub link: https://github.com/koekeishiya/yabai
You can set it up so focus-follows-mouse is the default system behavior and you will get what you're looking for. I was frustrated with this too, coming from Windows. However, I've been using this for the past 3 months and honestly I'd go crazy without it now. Highly recommend it.
brew install koekeishiya/formulae/yabai
brew services start yabai
yabai -m config focus_follows_mouse autofocus
Installing the yabai scripting addition or disabling system integrity protection was not necessary to make this work on an M1 mac.