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
|
// continue normal processing
|
||||||
input()->keyboard()->update();
|
input()->keyboard()->update();
|
||||||
|
auto seat = waylandServer()->seat();
|
||||||
|
seat->setTimestamp(event->timestamp());
|
||||||
if (!keyboardSurfaceAllowed()) {
|
if (!keyboardSurfaceAllowed()) {
|
||||||
// don't pass event to seat
|
// don't pass event to seat
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
auto seat = waylandServer()->seat();
|
|
||||||
switch (event->type()) {
|
switch (event->type()) {
|
||||||
case QEvent::KeyPress:
|
case QEvent::KeyPress:
|
||||||
seat->keyPressed(event->nativeScanCode());
|
seat->keyPressed(event->nativeScanCode());
|
||||||
|
|
Loading…
Reference in a new issue