[RFC XI 2.1 - xinput 1/3] Print XI2 device event child window in hex too

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 16 21:24:51 PST 2010


On Fri, Nov 12, 2010 at 05:35:15PM -0500, Chase Douglas wrote:
> From: Chase Douglas <chase.douglas at ubuntu.com>
> 
> This fixes an obvious error in the current print formatting.
> 
> Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
> ---
>  src/test_xi2.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/test_xi2.c b/src/test_xi2.c
> index c59ba26..fea36a8 100644
> --- a/src/test_xi2.c
> +++ b/src/test_xi2.c
> @@ -72,7 +72,7 @@ static void print_deviceevent(XIDeviceEvent* event)
>          if (XIMaskIsSet(event->valuators.mask, i))
>              printf("        %i: %.2f\n", i, *val++);
>  
> -    printf("    windows: root 0x%lx event 0x%lx child 0x%ld\n",
> +    printf("    windows: root 0x%lx event 0x%lx child 0x%lx\n",
>              event->root, event->event, event->child);
>  }
>  
> -- 
> 1.7.1

merged and pushed. thanks.

Cheers,
  Peter


More information about the xorg-devel mailing list