mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-04 17:40:36 +01:00
test: Advertise scroll/button interfaces in test_connect_receive_seat
This test was checking for the capabilities for `EI_SCROLL` and `EI_BUTTON`, but not advertising those interfaces initially. Presumably this was unintentional, given there's no comment that it's intentionally advertising some protocols but not others. Also, should the test have failed to find the capabilities when it didn't advertise the protocol to to start with? This change just fixes the test, anyway. This was causing the test to fail for `reis` CI in a proposed change in https://github.com/ids1024/reis/pull/11. Part-of: <https://gitlab.freedesktop.org/libinput/libei/-/merge_requests/352>
This commit is contained in:
parent
45c526bcc9
commit
500ad0510f
1 changed files with 2 additions and 0 deletions
|
|
@ -571,6 +571,8 @@ class TestEiProtocol:
|
|||
InterfaceName.EI_POINTER_ABSOLUTE,
|
||||
InterfaceName.EI_KEYBOARD,
|
||||
InterfaceName.EI_TOUCHSCREEN,
|
||||
InterfaceName.EI_SCROLL,
|
||||
InterfaceName.EI_BUTTON,
|
||||
]:
|
||||
ei.send(
|
||||
setup.InterfaceVersion(interface, VERSION_V(1))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue