Commit 4db533b2 authored by Martin Flöser's avatar Martin Flöser
Browse files

[server] Use WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION

parent 48326670
......@@ -172,7 +172,7 @@ void KeyboardInterface::updateModifiers(quint32 depressed, quint32 latched, quin
void KeyboardInterface::repeatInfo(qint32 charactersPerSecond, qint32 delay)
{
Q_D();
if (wl_resource_get_version(d->resource) < 4) {
if (wl_resource_get_version(d->resource) < WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION) {
// only supported since version 4
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment