News for hackers. Stuff that matters.
Re:GIMP Single-Window Mode Almost Ready, Hardware Accelerati... by windsurfer on Tuesday August 16, 2011 @10:05AM (#2891166)
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.

Re:GIMP Single-Window Mode Almost Ready, Hardware Accelerati... by bronson on Tuesday August 16, 2011 @01:58PM (#2892198)
Citation 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?
Re:GIMP Single-Window Mode Almost Ready, Hardware Accelerati... by windsurfer on Tuesday August 16, 2011 @09:53PM (#2893695)
Citation? 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.

Re:GIMP Single-Window Mode Almost Ready, Hardware Accelerati... by bronson on Tuesday August 16, 2011 @11:35PM (#2893972)
I'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?

Re:GIMP Single-Window Mode Almost Ready, Hardware Accelerati... by jholman on Wednesday August 17, 2011 @02:56AM (#2894412)
I'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.