diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-01-02 10:18:27 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-01-02 10:18:27 +0000 |
commit | b7bbe0d333ab639fed43699de24fad297082b4df (patch) | |
tree | 6c06481f60b0626e7b7145923eda2d2af6a67a9a /xserver/hw | |
parent | a942aeebd98ceb3448b037ad293248ba5b553175 (diff) |
Don't force the addition of a "mouse" section if none was found.
This heuristic to fix configuration errors is wrong when
a touch screen is the primary input device (zaurus).
Diffstat (limited to 'xserver/hw')
-rw-r--r-- | xserver/hw/xfree86/common/xf86Config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xserver/hw/xfree86/common/xf86Config.c b/xserver/hw/xfree86/common/xf86Config.c index 4ddeefc79..c9e890f57 100644 --- a/xserver/hw/xfree86/common/xf86Config.c +++ b/xserver/hw/xfree86/common/xf86Config.c @@ -1612,7 +1612,7 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout) xf86Msg(X_ERROR, "Cannot locate a core pointer device.\n"); return FALSE; } - +#if 0 /* * always synthesize a 'mouse' section configured to send core * events, unless a 'void' section is found, in which case the user @@ -1641,7 +1641,7 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout) servlayoutp->inputs = indp; } } - +#endif confInput = NULL; /* 1. Check for the -keyboard command line option. */ |