[xmonad] darcs patch: quick hack to avoid infinite (but
breakable) loop when...
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Sat May 17 14:42:25 EDT 2008
On 2008 May 17, at 14:38, Spencer Janssen wrote:
> On Sat, May 17, 2008 at 05:09:41AM -0700, David Roundy wrote:
>> Probably a better option would be to not clear crossing events at
>> all, but
>> instead when we handle crossing events to first check if the mouse
>> is still
>> in the said window. If it's not, then we should ignore the event.
> This misses the entire reason why we clear window entry events in
> the first
> place. When the current layout changes (or when switching
> workspaces) a window
> entry event will be generated for the window under the cursor even
> if the mouse
> is entirely stationary. We don't want to perform focus changes
> based on the
> position of the mouse if the user isn't even moving it.
Maybe I'm confused, but I think you just said the same thing he did.
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the xmonad