mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
Rename view's free callback to destroy
This commit is contained in:
parent
7a922c65aa
commit
50190bc760
5 changed files with 9 additions and 9 deletions
|
|
@ -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_v6_view *xdg_shell_v6_view =
|
||||
xdg_shell_v6_view_from_view(view);
|
||||
if (xdg_shell_v6_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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue