diff options
author | Matthias Hopf <mhopf@suse.de> | 2006-11-14 15:33:07 +0100 |
---|---|---|
committer | Matthias Hopf <mhopf@suse.de> | 2006-11-14 15:33:07 +0100 |
commit | 26d2e45bdb0cf4d18ba7b0365425da49d60b3d5c (patch) | |
tree | 068e1c93b06e6c72e821296bf2210e5c8368bd98 | |
parent | a724b7f1302ba7a59f140b521f13d2ddf0fcf9bf (diff) |
Bug #9023: Only check mice for "mouse" or "void" if identifier is != NULL.
-rw-r--r-- | hw/xfree86/common/xf86Config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index ffdca12a5..c0e21dd5e 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -1307,7 +1307,7 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout) * events, unless a 'void' section is found, in which case the user * probably wants to run footless. */ - for (i = servlayoutp->inputs; i->driver; i++) { + for (i = servlayoutp->inputs; i->identifier && i->driver; i++) { if (!strcmp(i->driver, "void") || !strcmp(i->driver, "mouse")) { found = 1; break; } |