diff --git a/input.cpp b/input.cpp index f7a94d3240..10e83b0d0b 100644 --- a/input.cpp +++ b/input.cpp @@ -173,11 +173,12 @@ public: // continue normal processing input()->keyboard()->update(); + auto seat = waylandServer()->seat(); + seat->setTimestamp(event->timestamp()); if (!keyboardSurfaceAllowed()) { // don't pass event to seat return true; } - auto seat = waylandServer()->seat(); switch (event->type()) { case QEvent::KeyPress: seat->keyPressed(event->nativeScanCode());