On Fri, May 14, 2010 at 10:36:13AM -0700, Jamey Sharp wrote:
> XInputExtensionInit calls MakeAtom, which doesn't work without the atoms
> table initialized.
> 
> Signed-off-by: Jamey Sharp <[email protected]>
> Cc: Peter Hutterer <[email protected]>
> ---
>  test/xi2/protocol-common.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/test/xi2/protocol-common.c b/test/xi2/protocol-common.c
> index d0e93f2..fd93e15 100644
> --- a/test/xi2/protocol-common.c
> +++ b/test/xi2/protocol-common.c
> @@ -152,6 +152,7 @@ void init_simple(void)
>      screen.SetCursorPosition = set_cursor_pos;
>  
>      dixResetPrivates();
> +    InitAtoms();
>      XInputExtensionInit();
>      init_window(&root, NULL, ROOT_WINDOW_ID);
>      init_window(&window, &root, CLIENT_WINDOW_ID);
> -- 
> 1.7.0

applied, thanks

Cheers,
  Peter
_______________________________________________
[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