Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

how can I change delay before focus when having focus-mode: mouse in gnome 3?

I am used to this behaviour from my previous WM (awesome), but I decided to give a Gnome another try (last used was gnome2) and I havem more or less happy so far, only this mouse focus thing is bugging me. I am used to no delay when focusing window under mouse, but I cannot find any setting do to this in gnome3.

I so far tried googling, some medling with dconf editor but so far I have no luck in solving this.

Any help will be appreciated ^_^

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You can change this by disabling the option focus-change-on-pointer-rest in schema org.gnome.shell.overrides (which overrides the original option in org.gnome.mutter while GNOME Shell is running).

But note that this might actually have more downsides than you expect.

When this option is enabled, there is a hardcoded delay of 25 milliseconds "to check whether the pointer has stopped moving after a crossing event", added in commit 59bc5b7 in response to bug report 678169.

commit 59bc5b7975f1f19ebacb520c1c2666c0828d1111

display: (Optionally) delay focus changes in focus-follows-mouse mode

Moving focus immediately on crossing events as we currently do
in focus-follows-mouse mode may trigger a lot of unwanted focus
changes when moving over unrelated windows on the way to a target.
Those accidental focus changes

 - prevent features like GNOME Shell's application menu from
   working properly

 - and are visually expensive since we now use a very distinct
   style for unfocused windows.

Instead, delay the actual focus change until the pointer has stopped
moving.

(Commit message reformatted to emphasize the reasons.)

share|improve this answer
    
thanks for info :) reading this I'll think it through.. –  Paladin Jul 1 '13 at 9:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.