3 ms·
Did that behavior change at some point? I'm on Big Sur and clicking on an unfocused window will focus it and trigger whatever button your mouse landed on. Edit
by dthul 5y ago
Did that behavior change at some point? I'm on Big Sur and clicking on an unfocused window will focus it and trigger whatever button your mouse landed on.
Edit: it seems to depend on the kind of button(?)
- tomovo 5y agoNative buttons and sliders have click-through enabled by default. Users can also ⌘-click to press buttons in background windows without changing the focus.
- Someone 5y agoThe developer can make a choice there. https://developer.apple.com/documentation/appkit/nswindow https://developer.apple.com/documentation/appkit/nswindow: > var worksWhenModal: Bool > A Boolean value that indicates whether the window is able to receive keyboard and mouse events even when some other window is being run modally. I think there are flags for doing that for non-modal ‘other windows’, too.