diff options
author | Damien Tardy-Panis <damien@tardypad.me> | 2020-05-05 18:35:03 +0200 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2020-05-29 17:29:41 -0400 |
commit | 0cbd26f0dae32db38160a82d557017edab8bb632 (patch) | |
tree | 33d51bd6d990ca9606d0306e211e3d0e5f464494 /include/sway/tree/view.h | |
parent | seat_cmd_cursor: emit frame events (diff) | |
download | sway-0cbd26f0dae32db38160a82d557017edab8bb632.tar.gz sway-0cbd26f0dae32db38160a82d557017edab8bb632.tar.zst sway-0cbd26f0dae32db38160a82d557017edab8bb632.zip |
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.h | 2 |
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, | |||
232 | uint32_t view_configure(struct sway_view *view, double lx, double ly, int width, | 232 | uint32_t view_configure(struct sway_view *view, double lx, double ly, int width, |
233 | int height); | 233 | int height); |
234 | 234 | ||
235 | bool view_inhibit_idle(struct sway_view *view); | ||
236 | |||
235 | /** | 237 | /** |
236 | * Whether or not the view is the only visible view in its tree. If the view | 238 | * Whether or not the view is the only visible view in its tree. If the view |
237 | * is tiling, there may be floating views. If the view is floating, there may | 239 | * is tiling, there may be floating views. If the view is floating, there may |