Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Sep 23, 2024
1 parent f40d6ce commit 3d96f96
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/backend/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,7 @@ static bool isDRMCard(const char* sysname) {
}

void Aquamarine::CSession::onReady() {
dispatchLibseatEvents();
dispatchLibinputEvents();
;
}

void Aquamarine::CSession::dispatchUdevEvents() {
Expand Down Expand Up @@ -361,7 +360,12 @@ void Aquamarine::CSession::dispatchLibseatEvents() {

void Aquamarine::CSession::dispatchPendingEventsAsync() {
dispatchLibseatEvents();

// only linux libudev allows us to asynchronously dispatch outstanding without blocking
#if defined(__linux__)
dispatchUdevEvents();
#endif

dispatchLibinputEvents();
}

Expand Down

0 comments on commit 3d96f96

Please sign in to comment.