On Tue, 2009-07-07 at 17:48 +0100, David Cantrell wrote:
> Cunningly hidden deep in some menu, Gnome has an option to enable
> focus-follows-mouse.  But their implementation is truly hideous.
> 
> In a decent window mangler, for example, windows only raise when you
> click in certain areas of them - normally the title bar and borders.
> Using a menu or selecting text doesn't screw around with window z-order.
> But in the Gnome world it does, and this makes me want to strangle
> kittens.
> 
> Gnome can fuck off and die.  Ubuntu could fuck off and die too, if only
> it wasn't so painful to get multiple monitors working on a version of
> Linux that didn't suck so hard.

Hah, it can, but being gnome it would rather you didn't.

You need to gconf-editor it.
/apps/metacity/general/raise_on_click

Reassuringly the description reads:

  "Setting this option to false can lead to buggy behavior, so users are
strongly discouraged from changing it from the default of true. Many
actions (e.g. clicking in the client area, moving or resizing the
window) normally raise the window as a side-effect. Setting this option
to false, which is strongly discouraged, will decouple raising from
other user actions, and ignore raise requests generated by applications.
See http://bugzilla.gnome.org/show_bug.cgi?id=445447#c6. Even when this
option is false, windows can still be raised by an alt-left-click
anywhere on the window, a normal click on the window decorations, or by
special messages from pagers, such as activation requests from tasklist
applets. This option is currently disabled in click-to-focus mode. Note
that the list of ways to raise windows when raise_on_click is false does
not include programmatic requests from applications to raise windows;
such requests will be ignored regardless of the reason for the request.
If you are an application developer and have a user complaining that
your application does not work with this setting disabled, tell them it
is _their_ fault for breaking their window manager and that they need to
change this option back to true or live with the "bug" they requested."

Blame the user why not eh?

Needless to say I disabled it many years ago and am still alive to tell
the tale. In my case life with a window manager that screws my careful
window placement up just isn't worth bothering.

Cheers,
Martin

Reply via email to