From e0e4b7d89b20ab9997a2eeb17dc7381ecafa31e3 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 22 Jul 2010 10:51:54 +1000 Subject: Move private init down. No real change, preparation for new input API. Signed-off-by: Peter Hutterer --- src/evdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/evdev.c b/src/evdev.c index bcc72bd..e90eaed 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -2063,14 +2063,14 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags) pInfo->conf_idev = dev; pInfo->private = NULL; + xf86CollectInputOptions(pInfo, evdevDefaults, NULL); + xf86ProcessCommonOptions(pInfo, pInfo->options); + if (!(pEvdev = calloc(sizeof(EvdevRec), 1))) goto error; pInfo->private = pEvdev; - xf86CollectInputOptions(pInfo, evdevDefaults, NULL); - xf86ProcessCommonOptions(pInfo, pInfo->options); - if (!EvdevOpenDevice(pInfo)) goto error; -- cgit v1.2.3