diff options
author | 2016-10-06 14:53:26 -0400 | |
---|---|---|
committer | 2016-10-06 14:53:26 -0400 | |
commit | 6fb7d0e30cf7134cc69d6ce0cc116471d6a4f74d (patch) | |
tree | 3f70c9beb4f0ed4e588652969e9e9bcbdaa53adc /include | |
parent | Merge pull request #928 from wasamasa/bugfix-swaylock-font (diff) | |
parent | add click on title_bar to focus a container (diff) | |
download | sway-6fb7d0e30cf7134cc69d6ce0cc116471d6a4f74d.tar.gz sway-6fb7d0e30cf7134cc69d6ce0cc116471d6a4f74d.tar.zst sway-6fb7d0e30cf7134cc69d6ce0cc116471d6a4f74d.zip |
Merge pull request #933 from alkino/click_title_bar
add click on title_bar to focus a container
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/container.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/container.h b/include/sway/container.h index 67b747a0..5e251885 100644 --- a/include/sway/container.h +++ b/include/sway/container.h | |||
@@ -243,6 +243,10 @@ swayc_t *swayc_active_workspace_for(swayc_t *view); | |||
243 | * Finds the container currently underneath the pointer. | 243 | * Finds the container currently underneath the pointer. |
244 | */ | 244 | */ |
245 | swayc_t *container_under_pointer(void); | 245 | swayc_t *container_under_pointer(void); |
246 | /** | ||
247 | * Finds the first container following a callback. | ||
248 | */ | ||
249 | swayc_t *container_find(swayc_t *container, bool (*f)(swayc_t *, const void *), const void *data); | ||
246 | 250 | ||
247 | /** | 251 | /** |
248 | * Returns true if a container is fullscreen. | 252 | * Returns true if a container is fullscreen. |