Set focusedPointerSurface to null when screen is locked and no greeter window
We want to get leave events on the previously focused surface when the screen is locked.icc-effect-5.14.5
parent
b5cbca3617
commit
5e782ac93e
|
@ -714,6 +714,12 @@ void InputRedirection::processPointerMotion(const QPointF &pos, uint32_t time)
|
|||
seat->setTimestamp(time);
|
||||
seat->setPointerPos(m_globalPointer);
|
||||
}
|
||||
} else {
|
||||
if (auto seat = findSeat()) {
|
||||
seat->setFocusedPointerSurface(nullptr);
|
||||
seat->setTimestamp(time);
|
||||
seat->setPointerPos(m_globalPointer);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue