summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/synaptics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index f4c3043..a5ca61c 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -176,7 +176,7 @@ SetDeviceAndProtocol(LocalDevicePtr local)
device = xf86FindOptionValue(local->options, "Device");
if (!device) {
device = xf86FindOptionValue(local->options, "Path");
- xf86SetStrOption(local->options, "Device", device);
+ xf86ReplaceStrOption(local->options, "Device", device);
}
if (device && strstr(device, "/dev/input/event")) {
#ifdef BUILD_EVENTCOMM