Set timestamp on WaylandSeat for key event in LockScreenFilter
Was missing.
This commit is contained in:
parent
5ee90dce3d
commit
46e3da297c
1 changed files with 2 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue