From 2da3276a952c8b69713c28d467316c19db849ab0 Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Sun, 12 Dec 2021 23:49:44 -0800 Subject: [PATCH] Fix the wrong argument order for send_modifiers. --- src/wayland/inputmethod_v1_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/inputmethod_v1_interface.cpp b/src/wayland/inputmethod_v1_interface.cpp index 349e4773cf..9792ccfb57 100644 --- a/src/wayland/inputmethod_v1_interface.cpp +++ b/src/wayland/inputmethod_v1_interface.cpp @@ -86,7 +86,7 @@ void InputMethodGrabV1::sendModifiers(quint32 serial, quint32 depressed, quint32 { const auto resources = d->resourceMap(); for (auto r : resources) { - d->send_modifiers(r->handle, depressed, latched, locked, group, serial); + d->send_modifiers(r->handle, serial, depressed, latched, locked, group); } }