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>
(cherry picked from commit c6613cfc26
)
This commit is contained in:
parent
3a3edb2c3d
commit
3b6d2b0026
|
@ -153,6 +153,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