mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
synclient: don't print "missing" if a property doesn't exist.
Virtually all touchpads still in use have one or more properties missing anyway. If it's not in the list, then it's missing. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -496,11 +496,8 @@ dp_show_settings(Display *dpy, XDevice *dev)
|
||||
for (j = 0; params[j].name; j++) {
|
||||
struct Parameter *par = ¶ms[j];
|
||||
a = XInternAtom(dpy, par->prop_name, True);
|
||||
if (!a) {
|
||||
fprintf(stderr, " %-23s = missing\n",
|
||||
par->name);
|
||||
if (!a)
|
||||
continue;
|
||||
}
|
||||
|
||||
len = 1 + ((par->prop_offset * (par->prop_format ? par->prop_format : 32)/8))/4;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user