Eric Anholt <[email protected]> writes:

> Signed-off-by: Eric Anholt <[email protected]>
> ---
>  hw/kdrive/ephyr/ephyr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c
> index def50d8..11b5ae9 100644
> --- a/hw/kdrive/ephyr/ephyr.c
> +++ b/hw/kdrive/ephyr/ephyr.c
> @@ -954,7 +954,7 @@ ephyrProcessMouseMotion(xcb_generic_event_t *xev)
>  
>      if (ephyrCursorScreen != screen->pScreen) {
>          EPHYR_LOG("warping mouse cursor. "
> -                  "cur_screen%d, motion_screen:%d\n",
> +                  "cur_screen:%p, motion_screen:%d\n",
>                    ephyrCursorScreen, screen->pScreen->myNum);
>          ephyrWarpCursor(inputInfo.pointer, screen->pScreen,
>                          motion->event_x, motion->event_y);

I'd suggest that this was actually supposed to be
ephyrCursorScreen->myNum instead of just the bare ephyrCursorScreen so
that you'd see the source and target screen by number. That would
require null-checking ephyrCursorScreen as well.

-- 
[email protected]

Attachment: pgpbuqkubAiOy.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to