aboutsummaryrefslogtreecommitdiff
path: root/libseat/backend
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2023-01-13 11:03:43 -0800
committerKenny Levinsen <kl@kl.wtf>2023-01-16 13:13:52 +0100
commit9b8b6e0bf88f02b77835c977ca97017ac6ed850f (patch)
treeaccbb0d2acd60becf0a4fd15444c69b6e1a07ec2 /libseat/backend
parent14355639f8a31e8a8b1d46fddcddfa924aa5f426 (diff)
noop: initialize initial_setup
Otherwise the enable_seat callback is never called.
Diffstat (limited to 'libseat/backend')
-rw-r--r--libseat/backend/noop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libseat/backend/noop.c b/libseat/backend/noop.c
index f69aac6..7db8a55 100644
--- a/libseat/backend/noop.c
+++ b/libseat/backend/noop.c
@@ -115,6 +115,7 @@ static struct libseat *noop_open_seat(const struct libseat_seat_listener *listen
return NULL;
}
+ backend->initial_setup = true;
backend->seat_listener = listener;
backend->seat_listener_data = data;
backend->base.impl = &noop_impl;