Friday, April 29, 2011

The little things...

One of the things that has annoyed me to no end is Chrome's theft of
window focus when you click on a link in XChat or some other
non-Chrome application.  It's not Chrome's fault.

Because I pull Twitter and Identi.ca into XChat (via Bip and Bitlbee), I
normally have a bunch of links waiting for me when I open my chat
client. Any attempt at opening more than one link at a time causes
frustration because you have to jump back to the XChat window to click
the next one. It adds a lot of mouse movement and extra clicks to
refocus.

In any case, I think I found the solution at about 4 a.m. this morning
(at the cost of a few spouse points). By opening gconf-editor and
de-selecting /apps/metacity/general/raise_on_click, Chrome no longer
jumps to the front when an URL is clicked on in XChat.

Please note that this isn't without an annoying side effect. You can
no longer click anywhere in a window to bring it to the front. You
must either click on the title bar at the top of the window, the
application's button in the window list, or use Alt-Tab to jump to the
desired app. It's something that I can live with, though.