Re: [wmii] wmii-3.1 bug (fix): libixp overload

From: Denis Grelich <denis_AT_grelich.de>
Date: Wed, 20 Sep 2006 14:32:48 +0200

On Wed, 20 Sep 2006 02:24:53 -0700
"Suraj N. Kurapati" <skurapat_AT_ucsc.edu> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Suraj N. Kurapati wrote:
> > In wmii-3.1, it is possible to overload libixp with lots of 9P
> > traffic, maintained _continuously_ for about a minute, such that it
> > freezes.
>
> Okay, I've finally managed to figure it out. :-)
>
>
> There is one major difference between how wmii-3.1 and wmii-4 handle
> a read of /event:
>
> wmii-4 simply returns the next event and closes the read request.
>
> wmii-3.1 returns the next event, closes the read request, and
> continues to send new events as they occur (even though the request
> was already closed).
>
>
> Now, because wmii-4 does not continually stream events to you (even
> after the read request was finished), there is a possibility that
> you may miss out on events. That is, when you (1) read an event, (2)
> process it, and (3) read another event, you may have missed new
> events that occurred while you were processing the old one.
>
> But maybe that isn't such a big deal (humans cannot generate
> key-presses fast enough to cause events to be missed).

Ah! That's it! What a luck that someone found this one that drove me
completely crazy already! Humans might not generate key events fast
enough, but mouse events are lost /regularly./ It happens often enough
that the mouse cursor ends up over a window that is not focused after
moving the mouse. OMG please fix :O

Received on Wed Sep 20 2006 - 14:32:57 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:14:16 UTC