Fix the wrong argument order for send_modifiers.

This commit is contained in:
Weng Xuetian 2021-12-12 23:49:44 -08:00
parent 47897e249f
commit 2da3276a95

View file

@ -86,7 +86,7 @@ void InputMethodGrabV1::sendModifiers(quint32 serial, quint32 depressed, quint32
{ {
const auto resources = d->resourceMap(); const auto resources = d->resourceMap();
for (auto r : resources) { for (auto r : resources) {
d->send_modifiers(r->handle, depressed, latched, locked, group, serial); d->send_modifiers(r->handle, serial, depressed, latched, locked, group);
} }
} }