diff options
author | Chase Douglas <chase.douglas@ubuntu.com> | 2010-11-10 13:43:34 -0500 |
---|---|---|
committer | Chase Douglas <chase.douglas@ubuntu.com> | 2010-11-10 13:43:34 -0500 |
commit | 758b4382512d7bf52761bb5cc26f56f159574cf1 (patch) | |
tree | d766470988e8632f9ae32c221dc322d784410733 | |
parent | e4aade848119cc4f8dea33782196ba2d46ee813d (diff) |
Initialize touch sprite hotspot screensxi2.1-stable-abi-12
-rw-r--r-- | dix/devices.c | 2 |
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; |