diff options
Diffstat (limited to 'sway/desktop/xdg_shell.c')
| -rw-r--r-- | sway/desktop/xdg_shell.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index a06c3bd2..105e77ae 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c @@ -143,7 +143,7 @@ static void _close(struct sway_view *view) {  	}  } -static void _free(struct sway_view *view) { +static void destroy(struct sway_view *view) {  	struct sway_xdg_shell_view *xdg_shell_view =  		xdg_shell_view_from_view(view);  	if (xdg_shell_view == NULL) { @@ -160,7 +160,7 @@ static const struct sway_view_impl view_impl = {  	.wants_floating = wants_floating,  	.for_each_surface = for_each_surface,  	.close = _close, -	.free = _free, +	.destroy = destroy,  };  static void handle_commit(struct wl_listener *listener, void *data) { | 
