Skip to content

Commit

Permalink
wlr_layer_surface_v1_close was renamed to ...v1_destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
telent committed Aug 15, 2021
1 parent 86c384b commit b292f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layers.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ arrange_layer(struct wlr_output *output, struct wl_list *list,
}
if (box.width < 0 || box.height < 0) {
wlr_log(WLR_ERROR, "protocol error");
wlr_layer_surface_v1_close(layer);
wlr_layer_surface_v1_destroy(layer);
continue;
}

Expand Down Expand Up @@ -240,7 +240,7 @@ output_destroy_notify(struct wl_listener *listener, void *data)
wl_container_of(listener, layer, output_destroy);
layer->layer_surface->output = NULL;
wl_list_remove(&layer->output_destroy.link);
wlr_layer_surface_v1_close(layer->layer_surface);
wlr_layer_surface_v1_destroy(layer->layer_surface);
}

static void
Expand Down

0 comments on commit b292f6d

Please sign in to comment.