mirror of https://github.com/hyprwm/aquamarine.git
dispatch libinput on ready
This commit is contained in:
parent
752d0fbd14
commit
995543ed03
|
@ -264,6 +264,9 @@ static bool isDRMCard(const char* sysname) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Aquamarine::CSession::onReady() {
|
void Aquamarine::CSession::onReady() {
|
||||||
|
dispatchLibseatEvents();
|
||||||
|
dispatchLibinputEvents();
|
||||||
|
|
||||||
for (auto const& d : libinputDevices) {
|
for (auto const& d : libinputDevices) {
|
||||||
if (d->keyboard)
|
if (d->keyboard)
|
||||||
backend->events.newKeyboard.emit(SP<IKeyboard>(d->keyboard));
|
backend->events.newKeyboard.emit(SP<IKeyboard>(d->keyboard));
|
||||||
|
|
Loading…
Reference in New Issue