aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorDamien Tardy-Panis <damien@tardypad.me>2020-05-05 18:35:03 +0200
committerBrian Ashworth <bosrsf04@gmail.com>2020-05-29 17:29:41 -0400
commit0cbd26f0dae32db38160a82d557017edab8bb632 (patch)
tree33d51bd6d990ca9606d0306e211e3d0e5f464494 /include/sway/tree/view.h
parent8cdcb77e12bf9c52fb51ce9a7da7e6a850fa5a37 (diff)
Add views idle inhibition status in get_tree output
Fixes #5286
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 9230f456..ab2dc8e4 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -232,6 +232,8 @@ void view_get_constraints(struct sway_view *view, double *min_width,
uint32_t view_configure(struct sway_view *view, double lx, double ly, int width,
int height);
+bool view_inhibit_idle(struct sway_view *view);
+
/**
* Whether or not the view is the only visible view in its tree. If the view
* is tiling, there may be floating views. If the view is floating, there may