[PATCH] dix: disable all devices before shutdown

Chase Douglas chase.douglas at canonical.com
Wed May 9 09:38:38 PDT 2012


On 05/08/2012 04:26 PM, Peter Hutterer wrote:
> f3410b97cf9b48a47bee3d15d232f8a88e75f4ef introduced a regression on server
> shutdown. If any button or key was held on shutdown (ctrl, alt, backspace
> are usually still down) sending a raw event will segfault the server. The
> the root windows are set to NULL before calling CloseDownDevices().
> 
> Avoid this by disabling all devices first when shutting down. Disabled
> devices won't send events anymore.
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Looks good to me.

Reviewed-by: Chase Douglas <chase.douglas at canonical.com>


More information about the xorg-devel mailing list