summaryrefslogtreecommitdiff
path: root/include/input.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-04-09 19:31:59 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-04-09 19:31:59 +0930
commitf1f8b562aaaa6ec32ab0d0697f964d92d6d536a4 (patch)
tree738183e43a1ad5d990cd7197b2aa6fa91379edc7 /include/input.h
parent7cef789fa13ae53bfba6dc7b5a7928b7362b2522 (diff)
Alloc sprite memory in devices' devPrivates, allow undisplaying cursors.
Improve memory usage by allocating the sprite's memory only to devices that actually have a sprite and provide means to remove a device's cursor from the screen (more hotplugging, yay!). This commit breaks ScreenRec's ABI.
Diffstat (limited to 'include/input.h')
-rw-r--r--include/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h
index 765d71dc3..2debce93c 100644
--- a/include/input.h
+++ b/include/input.h
@@ -190,6 +190,8 @@ extern int InitAndStartDevices(void);
extern void CloseDownDevices(void);
+extern void UndisplayDevices(void);
+
extern int RemoveDevice(
DeviceIntPtr /*dev*/);