Skip to content

Commit

Permalink
dispatch libinput on ready
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Sep 23, 2024
1 parent 752d0fb commit 995543e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 995543e

Please sign in to comment.