mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 16:20:03 +01:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue