News for hackers. Stuff that matters.
Re:The Windows 11 taskbar is an annoying step backward by dthul on Friday January 21, 2022 @04:11AM (#30021037)
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(?)

Re:The Windows 11 taskbar is an annoying step backward by Someone on Friday January 21, 2022 @07:07AM (#30022342)
The developer can make a choice there. 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.

Re:The Windows 11 taskbar is an annoying step backward by tomovo on Friday January 21, 2022 @06:10AM (#30021965)
Native buttons and sliders have click-through enabled by default. Users can also ⌘-click to press buttons in background windows without changing the focus.