xfree86: init EQ before trying to initialise the devices (#18890)
The kbd driver may send events during device initialisation, and these events need the EQ set up already. X.Org Bug 18890 <http://bugs.freedesktop.org/show_bug.cgi?id=18890> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
78a62d7713
commit
39db182b63
|
@ -1315,6 +1315,8 @@ InitInput(argc, argv)
|
|||
|
||||
xf86Info.vtRequestsPending = FALSE;
|
||||
|
||||
mieqInit();
|
||||
|
||||
/* Call the PreInit function for each input device instance. */
|
||||
for (pDev = xf86ConfigLayout.inputs; pDev && *pDev; pDev++) {
|
||||
/* Replace obsolete keyboard driver with kbd */
|
||||
|
@ -1326,8 +1328,6 @@ InitInput(argc, argv)
|
|||
if (xf86NewInputDevice(*pDev, &dev, TRUE) == BadAlloc)
|
||||
break;
|
||||
}
|
||||
|
||||
mieqInit();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue