aboutsummaryrefslogtreecommitdiffstats
path: root/sway/xdg_activation_v1.c
Commit message (Collapse)AuthorAge
* xdg-activation: distinguish activation and urgency requestsLibravatar Aleksei Bavshin2024-02-17
| | | | | | | | | 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.
* launcher: track the seat in the launcher ctxLibravatar Ronan Pigott2024-02-17
| | | | | This is a more suitable place to track the requesting seat, since we are able to respond appropriately to destroy notifications.
* Drop unnecessary includes from sway/server.hLibravatar Simon Ser2024-02-15
|
* chore: chase wlroots map logic unificationLibravatar Kirill Primak2023-06-02
|
* xdg-activation: fix urgency when the client does not specify a seatLibravatar Ronan Pigott2023-02-09
| | | | | | | | | xdg-activation is now too strict in only allowing tokens with a seat to activate a surface. Clients may rely on this behavior for urgency hints. The seat argument is still useful in case the client does provide a seat so we can activate it on the desired seat. Fixes: 842609da6432 (view: make request_activate take a seat, 2022-11-30)
* launcher: support external launcher tokensLibravatar Ronan Pigott2023-02-05
|
* view: make request_activate take a seatLibravatar Ronan Pigott2023-02-05
| | | | | This way we can move focus on the same seat an activation token originates from.
* Convert to *_try_from_wlr_surface()Libravatar Simon Ser2023-02-02
| | | | References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3991
* launcher: export xdga tokens and use them for workspace matchingLibravatar Ronan Pigott2022-11-26
|
* Fix crash in xdg_activation_v1.cLibravatar Filip SzczepaƄski2022-09-13
| | | wlr_xdg_surface_from_wlr_surface() can return a NULL pointer, so check for NULL before dereferencing it.
* Implement xdg-activation-v1Libravatar Simon Ser2021-06-02
See https://github.com/swaywm/wlroots/pull/2718.