summaryrefslogtreecommitdiff
path: root/dix/getevents.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-01-23 17:11:57 +1100
committerPeter Hutterer <peter.hutterer@who-t.net>2009-01-27 09:29:03 +1000
commita7e6424d992151c504a75bb807fa34c57ad52cad (patch)
tree2a0e2ed444960264f0e3a8ae834dc6d7e64eddcf /dix/getevents.c
parentb137a0cdb1d517a807d081fbde8e8dc0539fb3ca (diff)
dix: remove obsolete comment. Event lists should not be allocated by the DDX
Diffstat (limited to 'dix/getevents.c')
-rw-r--r--dix/getevents.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/dix/getevents.c b/dix/getevents.c
index ce086d524..8af97c641 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -458,9 +458,6 @@ updateMotionHistory(DeviceIntPtr pDev, CARD32 ms, int first_valuator,
* Returns the maximum number of events GetKeyboardEvents,
* GetKeyboardValuatorEvents, and GetPointerEvents will ever return.
*
- * Should be used in DIX as:
- * xEvent *events = xcalloc(sizeof(xEvent), GetMaximumEventsNum());
- *
* This MUST be absolutely constant, from init until exit.
*/
int