[server] Use WL_KEYBOARD_REPEAT_INFO_SINCE_VERSION
This commit is contained in:
parent
13bf4c9484
commit
8dc1e73f5d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue