mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-16 23:15:57 +01:00
e
This commit is contained in:
parent
f40d6ce4ae
commit
3d96f96ce5
1 changed files with 6 additions and 2 deletions
|
@ -264,8 +264,7 @@ static bool isDRMCard(const char* sysname) {
|
|||
}
|
||||
|
||||
void Aquamarine::CSession::onReady() {
|
||||
dispatchLibseatEvents();
|
||||
dispatchLibinputEvents();
|
||||
;
|
||||
}
|
||||
|
||||
void Aquamarine::CSession::dispatchUdevEvents() {
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue