Re: [PATCH/RFC] xfree86: add a hook to replace the new console handler.

2010-09-08 Thread Adam Jackson
On Mon, 2010-09-06 at 11:56 +1000, Peter Hutterer wrote: This hook is only necessary for the keyboard driver to remove the race condition between drain_console() and the driver's ReadInput (Bug 29969). The idea is that a driver that needs to handle events from the console calls

Re: [PATCH/RFC] xfree86: add a hook to replace the new console handler.

2010-09-06 Thread Thomas Hellstrom
On 09/06/2010 03:56 AM, Peter Hutterer wrote: since we haven't bumped the API yet for 1.10 and I've got a lot of changes anyway, queing this one up for input abi 12 would be easy. hw/xfree86/common/xf86.h |1 + hw/xfree86/common/xf86Events.c | 19

Re: [PATCH/RFC] xfree86: add a hook to replace the new console handler.

2010-09-06 Thread Tiago Vignatti
On Mon, Sep 06, 2010 at 03:56:31AM +0200, ext Peter Hutterer wrote: This hook is only necessary for the keyboard driver to remove the race condition between drain_console() and the driver's ReadInput (Bug 29969). The idea is that a driver that needs to handle events from the console calls

Re: [PATCH/RFC] xfree86: add a hook to replace the new console handler.

2010-09-06 Thread Peter Hutterer
On Mon, Sep 06, 2010 at 07:20:52PM +0300, Tiago Vignatti wrote: On Mon, Sep 06, 2010 at 03:56:31AM +0200, ext Peter Hutterer wrote: This hook is only necessary for the keyboard driver to remove the race condition between drain_console() and the driver's ReadInput (Bug 29969). The idea is

[PATCH/RFC] xfree86: add a hook to replace the new console handler.

2010-09-05 Thread Peter Hutterer
This hook is only necessary for the keyboard driver to remove the race condition between drain_console() and the driver's ReadInput (Bug 29969). The idea is that a driver that needs to handle events from the console calls xf86ReplaceConsoleHandler() with it's own ReadInput (or NULL) and thus