diff options
author | Guido Günther <agx@sigxcpu.org> | 2022-03-25 18:48:58 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2022-03-26 17:28:51 +0100 |
commit | dd03d839ab56c3e5d7c607a8d76e58e0b75edb85 (patch) | |
tree | e18d6e0c42fbdbc1fec5518304bf346af50c09bd /backend/headless | |
parent | 4519117a6885736b26f2d8ff1af97886d184c155 (diff) |
xdg-activation: Deduplicate token creation code
There were three places initializing a token:
- wlr_xdg_activation_v1_add_token
- wlr_xdg_activation_token_v1_create
- activation_handle_get_activation_token
The initialization of the token.destroy was missing in the first one. To
prevent these functions from getting out of sync move the token creation
into a common function.
Fixes 4c59f7d4 ("xdg-activation: Allow to submit tokens")
Diffstat (limited to 'backend/headless')
0 files changed, 0 insertions, 0 deletions