Issue 459 in xmonad: Focus does not follow mouse when changing workspace

Status: New Owner: ---- New issue 459 by christia...@gmail.com: Focus does not follow mouse when changing workspace http://code.google.com/p/xmonad/issues/detail?id=459 The following assumes focusFollowsMouse = True Steps to reproduce: 1. Prepare a workspace with two terminals separated vertically like this: T1|T2 2. Make sure the first terminal T1 has focus. 3. Switch to another workspace. 4. Position the mouse cursor in the right region of the screen so that it will hover over T2 when you switch back to that workspace. 5. Switch back to the workspace prepared in step 1. Expected output should be one of the following: 1. T2 should automatically gain focus since the mouse now hover that terminal. 2. Focus should remain but as soon as you move the mouse cursor (thus hovering T2 again) it should switch focus to T2. Current behavior forces me to move the cursor first over T1 (which still has focus) and then back over T2 or alternately click T2. I am using xmonad version 0.9.2. I have attached my configuration file which is pretty close to default. Attachments: xmonad.hs 11.1 KB

Updates: Status: Fixed Labels: Usability Comment #1 on issue 459 by wirtwo...@gmail.com: Focus does not follow mouse when changing workspace http://code.google.com/p/xmonad/issues/detail?id=459 The current behavior is default since the most common usage when switching to a workspace is to continue working in the window you were in when you switched away. However, in darcs xmonad-contrib, you can use XMonad.Actions.UpdateFocus to enable output(2) whereby mouse motion over unfocused windows causes them to be focused. The extension uses handleEventHook which is only in darcs xmonad, so a full upgrade to darcs xmonad and xmonad-contrib versions is required. Marking as fixed in darcs unless further issues arise.
participants (1)
-
codesite-noreply@google.com