diff options
author | emersion <contact@emersion.fr> | 2018-09-30 09:45:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-30 09:45:52 +0200 |
commit | 890bbd7b5c58235053fd81c4cdad8b861e2471c1 (patch) | |
tree | 9afa7a164bbbbcb49c7ab632b3f226ffa1a4855d | |
parent | 0347d542ee5fd6a1928aa628acf35ec05a9fd0d1 (diff) | |
parent | f5ff702a69378833d6eb36168e217cd33833e01a (diff) |
Merge pull request #1271 from emersion/gamma-control-destroy
gamma-control-v1: add missing destroy handler
-rw-r--r-- | types/wlr_gamma_control_v1.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/types/wlr_gamma_control_v1.c b/types/wlr_gamma_control_v1.c index 9f049a0b..8ccc96e5 100644 --- a/types/wlr_gamma_control_v1.c +++ b/types/wlr_gamma_control_v1.c @@ -189,9 +189,15 @@ static void gamma_control_manager_get_gamma_control(struct wl_client *client, wlr_output_get_gamma_size(output)); } +static void gamma_control_manager_destroy(struct wl_client *client, + struct wl_resource *manager_resource) { + wl_resource_destroy(manager_resource); +} + static const struct zwlr_gamma_control_manager_v1_interface gamma_control_manager_impl = { .get_gamma_control = gamma_control_manager_get_gamma_control, + .destroy = gamma_control_manager_destroy, }; static void gamma_control_manager_handle_resource_destroy( |