summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@ubuntu.com>2010-11-10 13:43:34 -0500
committerChase Douglas <chase.douglas@ubuntu.com>2010-11-10 13:43:34 -0500
commit758b4382512d7bf52761bb5cc26f56f159574cf1 (patch)
treed766470988e8632f9ae32c221dc322d784410733
parente4aade848119cc4f8dea33782196ba2d46ee813d (diff)
Initialize touch sprite hotspot screensxi2.1-stable-abi-12
-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;