dispatch libinput on ready

This commit is contained in:
Vaxry 2024-09-23 17:43:17 +01:00
parent 752d0fbd14
commit 995543ed03

View file

@ -264,6 +264,9 @@ static bool isDRMCard(const char* sysname) {
}
void Aquamarine::CSession::onReady() {
dispatchLibseatEvents();
dispatchLibinputEvents();
for (auto const& d : libinputDevices) {
if (d->keyboard)
backend->events.newKeyboard.emit(SP<IKeyboard>(d->keyboard));