summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/frame-xi2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frame-xi2.c b/src/frame-xi2.c
index 7fc38fd..737cff2 100644
--- a/src/frame-xi2.c
+++ b/src/frame-xi2.c
@@ -179,11 +179,13 @@ static void init_valuators(utouch_frame_handle fh,
179 if (v->resolution > 0) 179 if (v->resolution > 0)
180 s->phys_pressure = v->max / v->resolution; 180 s->phys_pressure = v->max / v->resolution;
181 } 181 }
182#if 0 182#ifdef ABS_MT_DISTANCE
183#ifdef AXIS_LABEL_PROP_ABS_MT_DISTANCE
183 set_field(fh, name, v->number, ABS_MT_DISTANCE) { 184 set_field(fh, name, v->number, ABS_MT_DISTANCE) {
184 s->use_distance = 1; 185 s->use_distance = 1;
185 } 186 }
186#endif 187#endif
188#endif
187 XFree(name); 189 XFree(name);
188 } 190 }
189} 191}