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>
This commit is contained in:
parent
1461b31e40
commit
c6613cfc26
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user