From c6613cfc26e76b296e620640bf33e756eb4ae178 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Fri, 14 May 2010 10:36:13 -0700 Subject: test/xi2: Initialize predefined atoms before XInputExtensionInit. XInputExtensionInit calls MakeAtom, which doesn't work without the atoms table initialized. Signed-off-by: Jamey Sharp Cc: Peter Hutterer Tested-by: Keith Packard Signed-off-by: Keith Packard --- test/xi2/protocol-common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test/xi2') diff --git a/test/xi2/protocol-common.c b/test/xi2/protocol-common.c index d0e93f2dd..fd93e15da 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); -- cgit v1.2.3