summaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 951912d0..0fb8f1b3 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -274,4 +274,10 @@ bool view_has_mark(struct sway_view *view, char *mark);
274 274
275void view_update_marks_textures(struct sway_view *view); 275void view_update_marks_textures(struct sway_view *view);
276 276
277/**
278 * Returns true if there's a possibility the view may be rendered on screen.
279 * Intended for damage tracking.
280 */
281bool view_is_visible(struct sway_view *view);
282
277#endif 283#endif