update visibility + container info functions

This commit is contained in:
taiyu 2015-08-27 23:18:28 -07:00
parent dfe0dda8d0
commit 5678d824e4
4 changed files with 77 additions and 53 deletions

View file

@ -103,6 +103,10 @@ swayc_t *swayc_active_workspace_for(swayc_t *view);
bool swayc_is_fullscreen(swayc_t *view);
bool swayc_is_active(swayc_t *view);
// Is `parent` the parent of `child`
bool swayc_is_parent_of(swayc_t *parent, swayc_t *child);
// Is `child` a child of `parent`
bool swayc_is_child_of(swayc_t *child, swayc_t *parent);
// Mapping functions