Issue 397 in xmonad: Mouse pointer on border locks focus when using unclutter

Status: New Owner: ---- New issue 397 by sachdochma: Mouse pointer on border locks focus when using unclutter http://code.google.com/p/xmonad/issues/detail?id=397 What steps will reproduce the problem? 1. Set focusFollowsMouse = True in your ~/.xmonad/xmonad.hs. 2. Run: unclutter -root -idle 1 (this hides the mouse pointer after 1 second of idleness) 3. Open at least two windows on the current workspace. 4. Put your mouse pointer on the border of the focused window. 5. Try to change focus to another window. What is the expected output? What do you see instead? The focus changes for an estimated millisecond as expected, then it switches back immediately. What version of the product are you using? On what operating system? xmonad 0.9.1-2+b1 from the Debian repo. Are you using an xmonad.hs? Please attach it and the output of "xmonad --recompile". Yes, I am, but there is no output. Please provide any additional information below. This only happens when the mouse pointer is invisible, so i suppose unclutter is doing something stupid and this is not xmonad’s fault? Is it possible to move the mouse pointer to the corner of the screen after a certain period of mouse idleness?

Comment #1 on issue 397 by sachdochma: Mouse pointer on border locks focus when using unclutter http://code.google.com/p/xmonad/issues/detail?id=397 Oh, I forgot: The same appears to happen when the mouse pointer is inside an MPlayer window. You can change the focus a few times, then it gets locked on MPlayer. Killing the unclutter process resolves the issue.

Comment #2 on issue 397 by daniel.wagner: Mouse pointer on border locks focus when using unclutter http://code.google.com/p/xmonad/issues/detail?id=397 These seem relevant: http://www.haskell.org/pipermail/xmonad/2007-August/001938.html http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#XMonad_...

Comment #3 on issue 397 by sachdochma: Mouse pointer on border locks focus when using unclutter http://code.google.com/p/xmonad/issues/detail?id=397 Thanks! unclutter’s -grab option seems to solve my problem.

Comment #4 on issue 397 by sachdochma: Mouse pointer on border locks focus when using unclutter http://code.google.com/p/xmonad/issues/detail?id=397 Correction: It doesn’t solve the issue. Now, when I click a window when the pointer is hidden, the click event gets eaten. This is worse than the original behaviour.
participants (1)
-
codesite-noreply@google.com