[patch] Initialize all screens
Mark Kettenis
mark.kettenis at xs4all.nl
Wed Sep 28 06:46:03 PDT 2011
> Date: Wed, 28 Sep 2011 20:23:22 +1000
> From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
>
> diff --git a/dix/devices.c b/dix/devices.c
> index 0ccf252..644e3e7 100644
> --- a/dix/devices.c
> +++ b/dix/devices.c
> @@ -351,6 +351,7 @@ EnableDevice(DeviceIntPtr dev, BOOL sendevent)
> DeviceIntPtr other;
> BOOL enabled;
> int flags[MAXDEVICES] = {0};
> + int i;
>
> for (prev = &inputInfo.off_devices;
> *prev && (*prev != dev);
> @@ -364,9 +365,13 @@ EnableDevice(DeviceIntPtr dev, BOOL sendevent)
> /* Sprites appear on first root window, so we can hardcode it */
Does that mean this comment is no longer true?
More information about the xorg-devel
mailing list