[PATCH] test/xi2: Initialize predefined atoms before XInputExtensionInit.

Jamey Sharp jamey at minilop.net
Fri May 14 10:36:13 PDT 2010


XInputExtensionInit calls MakeAtom, which doesn't work without the atoms
table initialized.

Signed-off-by: Jamey Sharp <jamey at minilop.net>
Cc: Peter Hutterer <peter.hutterer at who-t.net>
---
 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



More information about the xorg-devel mailing list