mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-03 10:10:37 +01:00
test: fix a test case's behavior
The default behaviour of a peck context is to handle the CONNECT event. Let's disable that. No effect on the test, the client cannot receive the connect event until it's been accepted, but it's better form anyway.
This commit is contained in:
parent
19c85e7ee1
commit
8bdfc8cf18
1 changed files with 2 additions and 0 deletions
|
|
@ -507,6 +507,8 @@ MUNIT_TEST(test_ei_disconnect_after_connect)
|
|||
_unref_(peck) *peck = peck_new();
|
||||
_unref_(eis_client) *client = NULL;
|
||||
|
||||
peck_enable_ei_behavior(peck, PECK_EI_BEHAVIOR_NONE);
|
||||
|
||||
peck_dispatch_until_stable(peck);
|
||||
|
||||
with_server(peck) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue