From 82dfdf3ea30b29a5380528d71f3edbf4a78a36f0 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 15 Oct 2024 18:08:09 +0300 Subject: [PATCH] Report correct input timestamps for popup keyboard events SeatInterface::setTimestamp() must be called before sending an event. --- src/popup_input_filter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/popup_input_filter.cpp b/src/popup_input_filter.cpp index dfbd9bcf0a..b273d8095c 100644 --- a/src/popup_input_filter.cpp +++ b/src/popup_input_filter.cpp @@ -86,6 +86,7 @@ bool PopupInputFilter::keyEvent(KeyEvent *event) QCoreApplication::sendEvent(internalWindow->handle(), event); } else if (auto waylandWindow = qobject_cast(last)) { if (!passToInputMethod(event)) { + waylandServer()->seat()->setTimestamp(event->timestamp()); passToWaylandServer(event); } }