Re:XNU Linux: Full OS X GUI Userspace on Linux
by 1718627440 on Monday November 23, 2026 @12:33PM
(#50615748)
I didn't know that was macOS specific. My DE (Debian Mate/Gnome2) does it like that as well. Does MS Windows really not behave like that?
Re:XNU Linux: Full OS X GUI Userspace on Linux
by jlokier on Monday November 23, 2026 @02:47PM
(#50618061)
Thanks for the update. What I said is out of date for current versions of Linux and MS Windows.
Windows changed scrolling of "inactive windows" at version 10. Windows before version 10 doesn't scroll the window under the mouse pointer. Windows >= 10 does, as you've just tested.
Linux desktops scroll the window under the mouse pointer now, and have for a long time. But my memory goes back to when they didn't :-). GNOME before 2.0 and KDE before 2.0 used "imwheel" to convert mouse wheel and trackpad scroll events to keys, which scrolled the keyboard-focus window.
Re:XNU Linux: Full OS X GUI Userspace on Linux
by cosmic_cheese on Monday November 23, 2026 @12:42PM
(#50615904)
In addition to all of this, native Cocoa apps can be interacted with without changing the focused window or foregrounded app by holding Command and left/right clicking in inactive windows.
Keyboard focus is click/alt-tab, and the menu bar follows that.
Mouse/trackpad gestures are focus-follows-mouse, so scrolling, pinch-zooming and panning (e.g. in maps) work on whatever the pointer is over, without changing the keyboard focus to that element or raising the window. In practice this is nice for viewing things, and typing into one place while looking at another. It works well for writing commands in a terminal or coding session, while reading and scrolling a document in another window.
Terminal apps support focus-follows-mouse for keyboard as well, without raising the window. Keyboard input goes to the terminal window under the pointer as the pointer moves around, or the last terminal window it was over, if the terminal app as a whole is focused. This mode is off by default but can be enabled with a command. The two-window method from above, typing in a terminal while scrolling a document/browser with gestures by keeping the pointer over the page, still works in this terminal mode. Linux-style focus-follows-mouse can't do that.