tests/input-capture: Add test for ATK input capture
Cally should not see the events when they are captured. [ofourdan] Wait for paint before checking button count. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2628>
This commit is contained in:

committed by
Carlos Garnacho

parent
1513eccc03
commit
2059273f57
@ -907,6 +907,20 @@ test_a11y (void)
|
||||
{
|
||||
.type = EI_EVENT_FRAME,
|
||||
},
|
||||
{
|
||||
.type = EI_EVENT_KEYBOARD_KEY,
|
||||
.key = { .key = KEY_A, .is_press = TRUE },
|
||||
},
|
||||
{
|
||||
.type = EI_EVENT_FRAME,
|
||||
},
|
||||
{
|
||||
.type = EI_EVENT_KEYBOARD_KEY,
|
||||
.key = { .key = KEY_A, .is_press = FALSE },
|
||||
},
|
||||
{
|
||||
.type = EI_EVENT_FRAME,
|
||||
},
|
||||
};
|
||||
|
||||
input_capture = input_capture_new ();
|
||||
|
Reference in New Issue
Block a user