aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/devices.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-10-14 09:46:33 +0000
committermarha <marha@users.sourceforge.net>2010-10-14 09:46:33 +0000
commitd621ea397a3d181e7a0bf07d72bd21e116fccdb8 (patch)
tree051652a7a9f4b063a9362cc712a6e04b4e151de0 /xorg-server/dix/devices.c
parent2131cbeb6f10b52a48d2ce25cfe27417e173afa5 (diff)
downloadvcxsrv-d621ea397a3d181e7a0bf07d72bd21e116fccdb8.tar.gz
vcxsrv-d621ea397a3d181e7a0bf07d72bd21e116fccdb8.tar.bz2
vcxsrv-d621ea397a3d181e7a0bf07d72bd21e116fccdb8.zip
xserver git update 14/10/2010
Diffstat (limited to 'xorg-server/dix/devices.c')
-rw-r--r--xorg-server/dix/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/dix/devices.c b/xorg-server/dix/devices.c
index 860a61867..f10f7a08d 100644
--- a/xorg-server/dix/devices.c
+++ b/xorg-server/dix/devices.c
@@ -2430,7 +2430,7 @@ AttachDevice(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr master)
WindowPtr currentRoot;
if (dev->spriteInfo->sprite)
- currentRoot = dev->spriteInfo->sprite->spriteTrace[0];
+ currentRoot = GetCurrentRootWindow(dev);
else /* new device auto-set to floating */
currentRoot = screenInfo.screens[0]->root;