4 ms·
The new window managers are a hybrid. Mouse events are focus follows mouse, while keyboard events are focus follows click. This allows you to highlight a bit of
by windsurfer 15y ago
The new window managers are a hybrid. Mouse events are focus follows mouse, while keyboard events are focus follows click. This allows you to highlight a bit of text and middle click on another window to paste, but leave the focus on the first window and continue typing, for instance. It also allows you to code in an editor while scrolling a documentation window.
MS Windows is only focus follows mouse.
- bronson 15y agoCitation please. I love focus-follows-mouse but this sounds downright confusing. Do windows have different highlights to show where mouse and keyboard events will go?
- windsurfer 15y agoCitation? Sorry, but it's been in Ubuntu for ages, and that's what I use. As for the visual cues, it looks a lot like OS X. Currently focused windows has a highlighted top bar and pronounced shadows and is in front of other windows. As for where the keyboard and mouse events... keyboarrd goes to focused window, mouse goes to where you click. It makes sense.
- bronson 15y agoI'm using FFM in Ubuntu classic (non-Unity) right now. Mouse and keyboard events go to the highlighted window and the highlight follows the mouse (with a few minor exceptions which is why some people call it sloppy focus). Clicking doesn't affect where the events go. Not sure what you're talking about...? Maybe plain old click-to-raise like Mac and Windows?
- jholman 15y agoI'm using default Ubuntu classic behaviour currently, and I almost agree with windsurfer's description. (I'm currently using 11.04, dist-upgraded from a 10.10 clean install, but it's been this way in every Ubuntu I've used over the past four years.) If I mouse to a different window, focus does not follow (like MS). However... if I use the mousewheel, it applies to whatever window is under the mouse. As windsurfer says, this is cool because I can navigate around in one window while keeping my editor typing in another. However, in disagreement with windsurfer's claim, my middle-click DOES change focus, as with my left- or right-click. Anyway, I hate full-on sloppy focus, but I sure love this sloppy-mousewheel-focus.