summaryrefslogtreecommitdiff
path: root/dix/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/devices.c')
-rw-r--r--dix/devices.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/devices.c b/dix/devices.c
index 945798f1d..bfb3dae7d 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -1625,6 +1625,8 @@ InitTouchClassDeviceStruct(DeviceIntPtr device, unsigned int max_touches,
FatalError("Failed to allocate touch spriteTrace");
sprite->spriteTraceSize = 32;
sprite->spriteTrace[0] = screenInfo.screens[0]->root;
+ sprite->hot.pScreen = screenInfo.screens[0];
+ sprite->hotPhys.pScreen = screenInfo.screens[0];
}
touch->sourceid = device->id;