diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 5a78112a..a616af03 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -51,8 +51,8 @@ void view_free(struct sway_view *view) { | |||
51 | wlr_texture_destroy(view->marks_unfocused); | 51 | wlr_texture_destroy(view->marks_unfocused); |
52 | wlr_texture_destroy(view->marks_urgent); | 52 | wlr_texture_destroy(view->marks_urgent); |
53 | 53 | ||
54 | if (view->impl->free) { | 54 | if (view->impl->destroy) { |
55 | view->impl->free(view); | 55 | view->impl->destroy(view); |
56 | } else { | 56 | } else { |
57 | free(view); | 57 | free(view); |
58 | } | 58 | } |