[patch] xserver:dix/events.c

Peter Hutterer peter.hutterer at who-t.net
Mon Feb 9 22:07:21 PST 2009


On Tue, Feb 10, 2009 at 02:52:56PM +0900, Shunichi Fuji wrote:
> i got build err if PANORAMIX is not defined.
> 
> >...
> >events.c: In function 'CheckPhysLimits':
> >events.c:674: error: expected '}' before 'else'
> >...

whoops. Thanks for the patch, pushed.

Cheers,
  Peter

> From f4771ed279274b35c665f3dd82426557fb5383aa Mon Sep 17 00:00:00 2001
> From: Shunichi Fuji <palglowr at gmail.com>
> Date: Tue, 10 Feb 2009 14:44:18 +0900
> Subject: [PATCH] dix: build fix if PANORAMIX is not defined.
> 
> 
> Signed-off-by: Shunichi Fuji <palglowr at gmail.com>
> ---
>  dix/events.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/dix/events.c b/dix/events.c
> index 77badfd..0db2d6a 100644
> --- a/dix/events.c
> +++ b/dix/events.c
> @@ -670,8 +670,8 @@ CheckPhysLimits(
>  #ifdef PANORAMIX
>          if (!noPanoramiXExtension)
>              XineramaSetCursorPosition (pDev, new.x, new.y, generateEvents);
> -#endif
>          else
> +#endif
>          {
>              if (pScreen != pSprite->hotPhys.pScreen)
>                  pSprite->hotPhys = new;
> -- 
> 1.6.1.2
> 


More information about the xorg-devel mailing list