diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-03-04 19:23:27 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | dbd2fbf4301d441be4f9a04a1df6d93c81c361f6 (patch) | |
tree | ed1e1da485e28529bf28922c08b021a7bc1856ac /include/sway/tree/view.h | |
parent | desktop: Rename layers to shell_layers (diff) | |
download | sway-dbd2fbf4301d441be4f9a04a1df6d93c81c361f6.tar.gz sway-dbd2fbf4301d441be4f9a04a1df6d93c81c361f6.tar.zst sway-dbd2fbf4301d441be4f9a04a1df6d93c81c361f6.zip |
view: init function should return a success bool
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r-- | include/sway/tree/view.h | 2 |
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, | |||
311 | 311 | ||
312 | // view implementation | 312 | // view implementation |
313 | 313 | ||
314 | void view_init(struct sway_view *view, enum sway_view_type type, | 314 | bool view_init(struct sway_view *view, enum sway_view_type type, |
315 | const struct sway_view_impl *impl); | 315 | const struct sway_view_impl *impl); |
316 | 316 | ||
317 | void view_destroy(struct sway_view *view); | 317 | void view_destroy(struct sway_view *view); |