add click on title_bar to focus a container

This commit is contained in:
Nicolas Cornu 2016-10-06 20:23:46 +02:00
parent 0fe2386014
commit 37065cd0c4
3 changed files with 38 additions and 0 deletions

View file

@ -243,6 +243,10 @@ swayc_t *swayc_active_workspace_for(swayc_t *view);
* Finds the container currently underneath the pointer.
*/
swayc_t *container_under_pointer(void);
/**
* Finds the first container following a callback.
*/
swayc_t *container_find(swayc_t *container, bool (*f)(swayc_t *, const void *), const void *data);
/**
* Returns true if a container is fullscreen.