Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Prelude: I have focus follows mouse, and also raise focused window.

When I switch windows with the keyboard (Alt-Tab), the new window gets focus and is raised. However, when the mouse pointer is still in some other windows, then moments later that window gets focus and will be raised instead. This makes the shortcut useless.

I remember that it used to be a bit different: The window manages used not to care about the mouse pointer’s position if the mouse remained unused after switching windows with the keys. I think that was very sensible. Is there a way to come to a similar effect now?

share|improve this question
I'm having this exact same problem. In windows, with power toys, there was a setting to have the mouse snap or move to the active window. This made this kind of problem obsolete, because whenever you raised a window with alt-tab, the mouse would automatically move to that window. I really want to be able to do this in ubuntu 11.04, any ideas? – chrismarx Aug 8 '11 at 19:43
up vote 1 down vote accepted

I have now upgraded do Oneiric Ocelot. The problem is no more. I cannot remember having changed any bit of configuration, so I assume it was in the update. For the time being, the solution is upgrading.

share|improve this answer

Your Answer


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.