mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-21 16:50:41 +01:00
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>
(cherry picked from commit 39db182b63)
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
991f0be6e2
commit
480caacbdd
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
@ -1324,8 +1326,6 @@ InitInput(argc, argv)
|
|||
|
||||
xf86NewInputDevice(*pDev, &dev, TRUE);
|
||||
}
|
||||
|
||||
mieqInit();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue