diff options
author | Peter Osterlund <petero2@telia.com> | 2005-10-30 23:05:55 +0100 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:03:34 +0200 |
commit | 32a6e1bf9c890f368cba3f6413e2412da2cee3c7 (patch) | |
tree | 8575440c655c4ea8d7db0ef657de6dc60cbad9c4 /synaptics.c | |
parent | 913e4171acd0e9bfac9b8df110c5682bb3b2a24c (diff) |
Included driver version number in the shared memory
segment. Suggested by Stefan Kombrink <katakombi@gmail.com> for use in
ksynaptics.
Diffstat (limited to 'synaptics.c')
-rw-r--r-- | synaptics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synaptics.c b/synaptics.c index 32a26fe..c472dcc 100644 --- a/synaptics.c +++ b/synaptics.c @@ -310,7 +310,7 @@ SynapticsPreInit(InputDriverPtr drv, IDevPtr dev, int flags) local->history_size = 0; local->always_core_feedback = 0; - xf86Msg(X_INFO, "Synaptics touchpad driver version %s\n", VERSION); + xf86Msg(X_INFO, "Synaptics touchpad driver version %s (%d)\n", VERSION, VERSION_ID); xf86CollectInputOptions(local, NULL, NULL); @@ -341,6 +341,7 @@ SynapticsPreInit(InputDriverPtr drv, IDevPtr dev, int flags) /* read the parameters */ pars = &priv->synpara_default; + pars->version = VERSION_ID; pars->left_edge = xf86SetIntOption(local->options, "LeftEdge", 1900); pars->right_edge = xf86SetIntOption(local->options, "RightEdge", 5400); pars->top_edge = xf86SetIntOption(local->options, "TopEdge", 1900); |