Set timestamp on WaylandSeat for key event in LockScreenFilter

Was missing.
This commit is contained in:
Martin Gräßlin 2016-02-16 17:14:28 +01:00
parent 5ee90dce3d
commit 46e3da297c

View file

@ -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());