aboutsummaryrefslogtreecommitdiffstats
path: root/src/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memory.c')
-rw-r--r--src/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memory.c b/src/memory.c
index 974a531..63134ca 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -119,13 +119,13 @@ static void update_pointers(struct Memory *m,
const struct Capabilities *caps)
{
const struct FingerState *f = state->finger;
- int yclick = caps->abs[BIT_POSITION_Y].maximum - CLICK_AREA(caps);
+ int yclick = caps->abs[MTDEV_POSITION_Y].maximum - CLICK_AREA(caps);
int i;
if (state->nfinger < 2) {
m->pointing = m->fingers;
- m->ybar = caps->abs[BIT_POSITION_Y].maximum;
+ m->ybar = caps->abs[MTDEV_POSITION_Y].maximum;
return;
}