Re: Missing events sometimes

2011-10-28 Thread Olivier Fourdan
Hi Peter, On Fri, Oct 28, 2011 at 12:44 AM, Peter Hutterer peter.hutte...@who-t.net wrote: [...] I'm not sure on the actual code but there's a race condition for both - if the release event happens before the server receives/processes the GrabKey/Pointer request you may drop the event on the

Re: Missing events sometimes

2011-10-27 Thread Peter Hutterer
On Tue, Oct 25, 2011 at 10:16:17AM +0200, Olivier Fourdan wrote: I have been facing a bug in the xfce [1] window manager xfwm4 [2], for a very long time, no doubt the fault is with my code yet I fail to find the fix. Sometimes, when the system is heavily loaded and/or swapping intensively,

Missing events sometimes

2011-10-25 Thread Olivier Fourdan
Hi all, I have been facing a bug in the xfce [1] window manager xfwm4 [2], for a very long time, no doubt the fault is with my code yet I fail to find the fix. Sometimes, when the system is heavily loaded and/or swapping intensively, the event loop does not get the ButtonReleasse or KeyRelease