diff options
| author | Maximilian Seidler <78690852+PointerDilemma@users.noreply.github.com> | 2026-05-03 15:58:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-03 14:58:03 +0100 |
| commit | aa5e38041ed332416ac2f5ace908389c35b28192 (patch) | |
| tree | 9a602755cbc15759219af3071529be03b1fd4431 /src/managers/input/InputMethodRelay.cpp | |
| parent | 6ec0228c38a6203e4789fe7e7e793a558521c109 (diff) | |
sessionLock: send locked instead of denied when missing a lock frame for 5 seconds (#14271)
The protocol seems to allow this, because it explicitly mentions either
session lock surface or compositor blanking the output in this sentence:
> The locked event must not be sent until a new "locked" frame
(either from a session lock surface or the compositor blanking the output)
has been presented on all outputs and no security sensitive normal/unlocked
content is possibly visible.
Since `locked_screen_delay` is capped to 5 seconds,
after the 5 seconds this timer is registered for, we assume that
all outputs are covered either by lockedead or by an actual lock frame.
Thus sending locked is ok.
Diffstat (limited to 'src/managers/input/InputMethodRelay.cpp')
0 files changed, 0 insertions, 0 deletions
