mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-04 22:42:39 +00:00
dae224c6dc
Add test to verify that the server correctly sets the timestamps of keyboard key events. This requires updating the weston-test protocol to support passing key event timestamps. simple_keyboard_test now uses the create_client_with_keyboard_focus() helper function which changes the initial state of the surface to be focused. This leads to one additional iteration of the test loop when starting, during which the surface is deactivated, i.e., loses focus. After this initial iteration the test continues as before. Furthermore, simple_keyboard_test now uses the send_key() helper function which performs a roundtrip internally. To account for this, the client_roundtrip() function is now directly called in the loop only when it is still required, i.e., when deactivating the surface. Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> |
||
---|---|---|
.. | ||
reference | ||
.gitignore | ||
bad-buffer-test.c | ||
config-parser-test.c | ||
devices-test.c | ||
event-test.c | ||
internal-screenshot-test.c | ||
internal-screenshot.ini | ||
ivi-shell-app-test.c | ||
ivi-test.h | ||
ivi_layout-internal-test.c | ||
ivi_layout-test-plugin.c | ||
ivi_layout-test.c | ||
keyboard-test.c | ||
matrix-test.c | ||
plugin-registry-test.c | ||
pointer-test.c | ||
presentation-test.c | ||
roles-test.c | ||
setbacklight.c | ||
string-test.c | ||
subsurface-shot-test.c | ||
subsurface-test.c | ||
surface-global-test.c | ||
surface-screenshot.c | ||
surface-test.c | ||
text-test.c | ||
timespec-test.c | ||
vertex-clip-test.c | ||
viewporter-test.c | ||
weston-test-client-helper.c | ||
weston-test-client-helper.h | ||
weston-test-desktop-shell.c | ||
weston-test-runner.c | ||
weston-test-runner.h | ||
weston-test.c | ||
weston-tests-env | ||
xwayland-test.c |