diff options
author | Aleksei Bavshin <alebastr89@gmail.com> | 2023-12-26 22:26:02 -0800 |
---|---|---|
committer | Ronan Pigott <ronan@rjp.ie> | 2024-02-17 00:54:30 -0700 |
commit | d19810eba8959f052d91fd6609cef6adf36b3951 (patch) | |
tree | 90b727f8cb792b06bf9aa1cc527d254c6c23edbf /swaynag/render.c | |
parent | f6d22f8e6886edfeca3ecbb695b02079e81ce360 (diff) |
xdg-activation: distinguish activation and urgency requests
Check if the app that requested a token has provided a valid input
serial and a focused surface. Downgrade activation request to urgency
otherwise.
This is mostly in line with what other Wayland compositors decided to
do, and offers a better security than the original logic.
Diffstat (limited to 'swaynag/render.c')
0 files changed, 0 insertions, 0 deletions