From 32a6e1bf9c890f368cba3f6413e2412da2cee3c7 Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sun, 30 Oct 2005 23:05:55 +0100 Subject: Included driver version number in the shared memory segment. Suggested by Stefan Kombrink for use in ksynaptics. --- synaptics.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'synaptics.c') 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); -- cgit v1.2.3