[xmonad] Issue 180 in xmonad: In focus-follows-mouse mode, the wrong window gets focused

codesite-noreply at google.com codesite-noreply at google.com
Tue Apr 15 09:10:15 EDT 2008

Issue 180: In focus-follows-mouse mode, the wrong window gets focused

New issue report by Klaus.Weidner:
What steps will reproduce the problem?
1. Have at least 3 windows on the screen at the same time
2. Move the mouse pointer from the first window through the second one to
the third one very quickly
3. Check which window has focus

What is the expected output? What do you see instead?

I expect the third window to have the focus, but depending on how fast the
mouse was moving, the focus may be stuck in one of the intervening windows.

What version of the product are you using? On what operating system?

xmonad current darcs version, on Linux

Please provide any additional information below.

The "windows" function in XMonad/Operations.hs calls clearEvents with
enterWindowMask to delete pending events. This is appropriate if the
windows get reshuffled, but it leads to the unexpected behavior described
above if xmonad lags behind the current events and clears the pending
enterWindow events.

Issue attributes:
	Status: New
	Owner: ----
	Labels: Type-Defect Priority-Medium

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

More information about the xmonad mailing list