Skip to content

Commit fd8c10e

Browse files
committed
tslib.c: fix width value discovery
1 parent dc784b1 commit fd8c10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tslib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ static int xf86TslibInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
390390
return BadValue;
391391
}
392392
priv->width = abs_mt_x.maximum;
393-
priv->height = abs_mt_x.maximum;
393+
priv->height = abs_mt_y.maximum;
394394

395395
/* process generic options */
396396
xf86CollectInputOptions(pInfo, NULL);

0 commit comments

Comments
 (0)