diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-27 23:18:28 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-27 23:18:28 -0700 |
commit | 5678d824e43d1ae2e2abaa1bc9a03391a4683a86 (patch) | |
tree | c097bfa46406f94903e942832e36bd3e96d343bb /include/container.h | |
parent | proper visibility update (diff) | |
download | sway-5678d824e43d1ae2e2abaa1bc9a03391a4683a86.tar.gz sway-5678d824e43d1ae2e2abaa1bc9a03391a4683a86.tar.zst sway-5678d824e43d1ae2e2abaa1bc9a03391a4683a86.zip |
update visibility + container info functions
Diffstat (limited to 'include/container.h')
-rw-r--r-- | include/container.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h index 29f75f45..cfb2e868 100644 --- a/include/container.h +++ b/include/container.h | |||
@@ -103,6 +103,10 @@ swayc_t *swayc_active_workspace_for(swayc_t *view); | |||
103 | 103 | ||
104 | bool swayc_is_fullscreen(swayc_t *view); | 104 | bool swayc_is_fullscreen(swayc_t *view); |
105 | bool swayc_is_active(swayc_t *view); | 105 | bool swayc_is_active(swayc_t *view); |
106 | // Is `parent` the parent of `child` | ||
107 | bool swayc_is_parent_of(swayc_t *parent, swayc_t *child); | ||
108 | // Is `child` a child of `parent` | ||
109 | bool swayc_is_child_of(swayc_t *child, swayc_t *parent); | ||
106 | 110 | ||
107 | // Mapping functions | 111 | // Mapping functions |
108 | 112 | ||