aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-23 22:54:52 +0100
committeremersion <contact@emersion.fr>2018-05-23 22:54:52 +0100
commitcd0fca2ebf81c252b3743c4474a5fdbcd3e2afad (patch)
tree595f1e80551b64de0d4e24f5721bae27acc195d9 /include/sway/tree/view.h
parentb7ab7c0e66433aacaaccce08d6e40304e6f6593c (diff)
parent12a12878b9883c345dd73752a9cf714aeb245b8a (diff)
Merge branch 'master' into fix-swaylock-hotplugging
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);
void view_update_marks_textures(struct sway_view *view);
+/**
+ * Returns true if there's a possibility the view may be rendered on screen.
+ * Intended for damage tracking.
+ */
+bool view_is_visible(struct sway_view *view);
+
#endif