[PATCH] kdrive: drop screen crossing code.

Peter Hutterer peter.hutterer at who-t.net
Wed Nov 30 13:30:07 PST 2011


On Mon, Nov 28, 2011 at 04:41:17PM +0000, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> The only kdrive server we probably care about anymore is Xephyr,
> and this screen enable/disable code totally breaks it in multi-screen mode.
> 
> When you are in one screen the other stops updating.
> 
> Fixes https://bugzilla.redhat.com/show_bug.cgi?id=757457
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>

Not that I know much about this code but looks sensible enough.
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
  Peter

> ---
>  hw/kdrive/src/kinput.c |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c
> index 9c0b34f..968ebb1 100644
> --- a/hw/kdrive/src/kinput.c
> +++ b/hw/kdrive/src/kinput.c
> @@ -2146,12 +2146,6 @@ KdCursorOffScreen(ScreenPtr *ppScreen, int *x, int *y)
>  static void
>  KdCrossScreen(ScreenPtr pScreen, Bool entering)
>  {
> -#ifndef XIPAQ
> -    if (entering)
> -	KdEnableScreen (pScreen);
> -    else
> -	KdDisableScreen (pScreen);
> -#endif
>  }
>  
>  int KdCurScreen;	/* current event screen */
> -- 
> 1.7.7.3



More information about the xorg-devel mailing list