diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-24 01:11:21 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-24 01:11:21 -0700 |
commit | dbad30a409b83d2e327e5eb2a53b46f12e462258 (patch) | |
tree | beedc915a86c4a1109fd0cf4de7961642ccd8354 /include/container.h | |
parent | b054ac9d4973c8803ff8981eb1f1a754434efe4d (diff) |
add limit to swayc_in_direction
Diffstat (limited to 'include/container.h')
-rw-r--r-- | include/container.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h index 2ced248b..aadba5de 100644 --- a/include/container.h +++ b/include/container.h @@ -84,6 +84,11 @@ swayc_t *destroy_view(swayc_t *view); swayc_t *swayc_by_test(swayc_t *container, bool (*test)(swayc_t *view, void *data), void *data); swayc_t *swayc_parent_by_type(swayc_t *container, enum swayc_types); swayc_t *swayc_parent_by_layout(swayc_t *container, enum swayc_layouts); +// Follow focused until type/layout +swayc_t *swayc_focus_by_type(swayc_t *container, enum swayc_types); +swayc_t *swayc_focus_by_layout(swayc_t *container, enum swayc_layouts); + + swayc_t *swayc_by_handle(wlc_handle handle); swayc_t *swayc_active_output(void); swayc_t *swayc_active_workspace(void); |