mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 03:46:00 +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() {
|
void Aquamarine::CSession::onReady() {
|
||||||
dispatchLibseatEvents();
|
;
|
||||||
dispatchLibinputEvents();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Aquamarine::CSession::dispatchUdevEvents() {
|
void Aquamarine::CSession::dispatchUdevEvents() {
|
||||||
|
@ -361,7 +360,12 @@ void Aquamarine::CSession::dispatchLibseatEvents() {
|
||||||
|
|
||||||
void Aquamarine::CSession::dispatchPendingEventsAsync() {
|
void Aquamarine::CSession::dispatchPendingEventsAsync() {
|
||||||
dispatchLibseatEvents();
|
dispatchLibseatEvents();
|
||||||
|
|
||||||
|
// only linux libudev allows us to asynchronously dispatch outstanding without blocking
|
||||||
|
#if defined(__linux__)
|
||||||
dispatchUdevEvents();
|
dispatchUdevEvents();
|
||||||
|
#endif
|
||||||
|
|
||||||
dispatchLibinputEvents();
|
dispatchLibinputEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue