diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-14 10:36:13 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-05-14 17:33:50 -0700 |
commit | c6613cfc26e76b296e620640bf33e756eb4ae178 (patch) | |
tree | 7c69a81591c7bf527ab62b3ebd40299716626852 | |
parent | 1461b31e40a3e44f6327199d23cf2ab70d8f5176 (diff) |
test/xi2: Initialize predefined atoms before XInputExtensionInit.
XInputExtensionInit calls MakeAtom, which doesn't work without the atoms
table initialized.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Cc: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | 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 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); |