wayland: Remove SeatInterfacePrivate::accumulatedCapabilities

The seat no longer posts the relevant protocol error.
This commit is contained in:
Vlad Zahorodnii 2023-02-09 20:15:55 +02:00
parent e0c66d42cb
commit e1e9e89f34
2 changed files with 0 additions and 4 deletions

View file

@ -327,7 +327,6 @@ void SeatInterface::setHasKeyboard(bool has)
} else {
d->capabilities &= ~SeatInterfacePrivate::capability_keyboard;
}
d->accumulatedCapabilities |= d->capabilities;
d->sendCapabilities();
Q_EMIT hasKeyboardChanged(has);
@ -343,7 +342,6 @@ void SeatInterface::setHasPointer(bool has)
} else {
d->capabilities &= ~SeatInterfacePrivate::capability_pointer;
}
d->accumulatedCapabilities |= d->capabilities;
d->sendCapabilities();
Q_EMIT hasPointerChanged(has);
@ -359,7 +357,6 @@ void SeatInterface::setHasTouch(bool has)
} else {
d->capabilities &= ~SeatInterfacePrivate::capability_touch;
}
d->accumulatedCapabilities |= d->capabilities;
d->sendCapabilities();
Q_EMIT hasTouchChanged(has);

View file

@ -49,7 +49,6 @@ public:
QPointer<Display> display;
QString name;
std::chrono::milliseconds timestamp = std::chrono::milliseconds::zero();
quint32 accumulatedCapabilities = 0;
quint32 capabilities = 0;
std::unique_ptr<KeyboardInterface> keyboard;
std::unique_ptr<PointerInterface> pointer;