aboutsummaryrefslogtreecommitdiff
path: root/examples/output-power-management.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2022-03-25 18:48:58 +0100
committerGuido Günther <agx@sigxcpu.org>2022-03-26 17:28:51 +0100
commitdd03d839ab56c3e5d7c607a8d76e58e0b75edb85 (patch)
treee18d6e0c42fbdbc1fec5518304bf346af50c09bd /examples/output-power-management.c
parent4519117a6885736b26f2d8ff1af97886d184c155 (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 'examples/output-power-management.c')
0 files changed, 0 insertions, 0 deletions