On Tue, Oct 26, 2010 at 10:11:17AM +1000, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <[email protected]>
> ---
> src/evdev.c | 22 +++++++++++++---------
> 1 files changed, 13 insertions(+), 9 deletions(-)
>
> diff --git a/src/evdev.c b/src/evdev.c
> index 018843f..940f24d 100644
> --- a/src/evdev.c
> +++ b/src/evdev.c
> @@ -63,7 +63,6 @@
[...]
> @@ -2214,7 +2214,11 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int
> flags)
> xf86ProcessCommonOptions(pInfo, pInfo->options);
>
> if (NewEvdevPreInit(drv, pInfo, flags) == Success)
> + {
> + pInfo->flags = XI86_CONFIGURED;
> return pInfo;
> + }
> +
ftr, this should be pInfo->flags |= XI86_CONFIGURED;
who would have thought that = vs. |= makes a difference :)
>
> xf86DeleteInput(pInfo, 0);
> return NULL;
> --
> 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