summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ws.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ws.c b/src/ws.c
index 9057d9e..c312414 100644
--- a/src/ws.c
+++ b/src/ws.c
@@ -891,6 +891,8 @@ wsSetProperty(DeviceIntPtr device, Atom atom, XIPropertyValuePtr val,
coords.maxy = priv->max_y;
coords.swapxy = priv->swap_axes;
coords.samplelen = priv->raw;
+ coords.resx = priv->coords.resx;
+ coords.resy = priv->coords.resy;
if (ioctl(pInfo->fd, WSMOUSEIO_SCALIBCOORDS, &coords) != 0) {
xf86Msg(X_ERROR, "SCALIBCOORDS failed %s\n",
strerror(errno));