/* * XXX This should be done by a function in the core server since the * MouseDevRec is defined in the os-support layer. */
no, it shouldn't and it isn't, in exactly that order. Signed-off-by: Peter Hutterer <[email protected]> --- src/mouse.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/mouse.c b/src/mouse.c index 8a0695f..045e6fc 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -891,10 +891,6 @@ MousePreInit(InputDriverPtr drv, IDevPtr dev, int flags) } /* Allocate the MouseDevRec and initialise it. */ - /* - * XXX This should be done by a function in the core server since the - * MouseDevRec is defined in the os-support layer. - */ if (!(pMse = calloc(sizeof(MouseDevRec), 1))) return pInfo; pInfo->private = pMse; -- 1.7.2.3 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
