aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-03-04 19:23:27 -0500
committerFurkan Sahin <furkan-dev@proton.me>2022-03-04 19:23:27 -0500
commitba9694e03186dc28e6a4b8bc2f6528c974d413f9 (patch)
treeed1e1da485e28529bf28922c08b021a7bc1856ac /include
parent3e58196b0a07a73b86695684dc63a1fabb619c6f (diff)
view: init function should return a success bool
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 856651a5..822e7bb3 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -311,7 +311,7 @@ void view_for_each_popup_surface(struct sway_view *view,
// view implementation
-void view_init(struct sway_view *view, enum sway_view_type type,
+bool view_init(struct sway_view *view, enum sway_view_type type,
const struct sway_view_impl *impl);
void view_destroy(struct sway_view *view);