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 removes the drain_console call. It's the driver's responsibility to restore the previous behaviour when the driver is unloaded. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> CC: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Adam Jackson <ajax@redhat.com> |
||
|---|---|---|
| .. | ||
| int10 | ||
| Makefile.am | ||
| lnx_acpi.c | ||
| lnx_agp.c | ||
| lnx_apm.c | ||
| lnx_axp.c | ||
| lnx_bell.c | ||
| lnx_ev56.c | ||
| lnx_init.c | ||
| lnx_kmod.c | ||
| lnx_video.c | ||