Report correct input timestamps for popup keyboard events

SeatInterface::setTimestamp() must be called before sending an event.
wilder/Plasma/6.3
Vlad Zahorodnii 1 year ago
parent 21baa3eea8
commit 82dfdf3ea3
  1. 1
      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<WaylandWindow *>(last)) {
if (!passToInputMethod(event)) {
waylandServer()->seat()->setTimestamp(event->timestamp());
passToWaylandServer(event);
}
}

Loading…
Cancel
Save