My favorites | Sign in
Project Home Issues
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 397: Mouse pointer on border locks focus when using unclutter
2 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----

Sign in to add a comment
Reported by, Jun 19, 2010
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
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?

Jun 19, 2010
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.
Jun 22, 2010
Thanks! unclutter’s -grab option seems to solve my problem.
Jun 22, 2010
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.
Sign in to add a comment

Powered by Google Project Hosting