aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-24 08:27:05 -0400
committerGitHub <noreply@github.com>2018-08-24 08:27:05 -0400
commite86d99acd655815781cd2e23877ce58ab5b24826 (patch)
tree5e056a7859751c68c0cfb425fc6f37599c3f7400 /include/sway/tree/view.h
parentf53c28d52a6954108592c246c013c0c4b076f09c (diff)
parentb6058703fa240780d66fac8ef96982c66b2b0263 (diff)
Merge pull request #2499 from RyanDwyer/refactor-destroy-functions
Refactor destroy functions and save workspaces when there's no outputs
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 5fdecc2b..f73ce571 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -284,10 +284,10 @@ void view_for_each_popup(struct sway_view *view,
void view_init(struct sway_view *view, enum sway_view_type type,
const struct sway_view_impl *impl);
-void view_free(struct sway_view *view);
-
void view_destroy(struct sway_view *view);
+void view_begin_destroy(struct sway_view *view);
+
void view_map(struct sway_view *view, struct wlr_surface *wlr_surface);
void view_unmap(struct sway_view *view);