xserver-xorg-input-synaptics: Changes to 'ubuntu'
debian/patches/118_quell_error_msg.patch | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
New commits:
commit 5473bcf878a0218e359f1f67ec0be4e6eb536bcf
Author: Bryce Harrington <bryce@canonical.com>
Date: Fri Mar 4 12:43:27 2011 -0800
Add patch
diff --git a/debian/patches/118_quell_error_msg.patch b/debian/patches/118_quell_error_msg.patch
new file mode 100644
index 0000000..b195c04
--- /dev/null
+++ b/debian/patches/118_quell_error_msg.patch
@@ -0,0 +1,28 @@
+diff -Nurp patched//tools/synclient.c working//tools/synclient.c
+--- patched//tools/synclient.c 2011-03-02 11:52:26.000000000 -0800
++++ working//tools/synclient.c 2011-03-02 11:54:13.000000000 -0800
+@@ -390,9 +390,7 @@ dp_get_device(Display *dpy)
+ unwind:
+ XFree(properties);
+ XFreeDeviceList(info);
+- if (!dev)
+- fprintf(stderr, "Unable to find a synaptics device.\n");
+- else if (error && dev)
++ if (error && dev)
+ {
+ XCloseDevice(dpy, dev);
+ dev = NULL;
+diff -Nurp patched//tools/syndaemon.c working//tools/syndaemon.c
+--- patched//tools/syndaemon.c 2011-03-02 11:52:14.000000000 -0800
++++ working//tools/syndaemon.c 2011-03-02 11:54:37.000000000 -0800
+@@ -500,9 +500,7 @@ dp_get_device(Display *dpy)
+ unwind:
+ XFree(properties);
+ XFreeDeviceList(info);
+- if (!dev)
+- fprintf(stderr, "Unable to find a synaptics device.\n");
+- else if (error && dev)
++ if (error && dev)
+ {
+ XCloseDevice(dpy, dev);
+ dev = NULL;
Reply to: