summaryrefslogtreecommitdiff
path: root/dix/cursor.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-03-19 16:11:01 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-03-19 16:11:01 +1030
commit0acf993e2878d0866fd4e2db8252c1ea6841e494 (patch)
tree4c502d03e0bcad5dc7a0ef4d976f69e1fcefc9c8 /dix/cursor.c
parent015d728bcde5b16a72a976579755421e3023626b (diff)
dix: Move sprite initalization/pairing from ActivateDevice to
EnableDevice. zero out spriteTrace, otherwise GetCurrentRootWindow() may return invalid data. Evdev adds previously hotplugged devices on its own when rescanning, and ActivateDevice does not get called for those devices. Sprites need to be initialized or paired before the device gets started, so the safest place to do so is EnableDevice (which actually does get called by the evdev driver).
Diffstat (limited to 'dix/cursor.c')
0 files changed, 0 insertions, 0 deletions