diff options
author | 2015-08-16 22:11:33 -0400 | |
---|---|---|
committer | 2015-08-16 22:11:33 -0400 | |
commit | cb504c8f7b0face15a29de5b3b9f12ffe8bc6848 (patch) | |
tree | 1351a85fa95badc95b0408387c90c366495c28ab /include | |
parent | Merge pull request #52 from taiyu-len/master (diff) | |
parent | fix (diff) | |
download | sway-cb504c8f7b0face15a29de5b3b9f12ffe8bc6848.tar.gz sway-cb504c8f7b0face15a29de5b3b9f12ffe8bc6848.tar.zst sway-cb504c8f7b0face15a29de5b3b9f12ffe8bc6848.zip |
Merge pull request #53 from taiyu-len/master
send_to_back/bring_to_front set when view changes visibility.
Diffstat (limited to 'include')
-rw-r--r-- | include/container.h | 3 | ||||
-rw-r--r-- | include/layout.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h index a54e016a..dd934be6 100644 --- a/include/container.h +++ b/include/container.h | |||
@@ -68,4 +68,7 @@ swayc_t *destroy_view(swayc_t *view); | |||
68 | swayc_t *find_container(swayc_t *container, bool (*test)(swayc_t *view, void *data), void *data); | 68 | swayc_t *find_container(swayc_t *container, bool (*test)(swayc_t *view, void *data), void *data); |
69 | void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *); | 69 | void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *); |
70 | 70 | ||
71 | //Mappings | ||
72 | void set_view_visibility(swayc_t *view, void *data); | ||
73 | |||
71 | #endif | 74 | #endif |
diff --git a/include/layout.h b/include/layout.h index 38a1f24b..a7f43fda 100644 --- a/include/layout.h +++ b/include/layout.h | |||
@@ -22,6 +22,7 @@ void arrange_windows(swayc_t *container, int width, int height); | |||
22 | void unfocus_all(swayc_t *container); | 22 | void unfocus_all(swayc_t *container); |
23 | void focus_view(swayc_t *view); | 23 | void focus_view(swayc_t *view); |
24 | void focus_view_for(swayc_t *ancestor, swayc_t *container); | 24 | void focus_view_for(swayc_t *ancestor, swayc_t *container); |
25 | |||
25 | swayc_t *get_focused_container(swayc_t *parent); | 26 | swayc_t *get_focused_container(swayc_t *parent); |
26 | swayc_t *get_swayc_for_handle(wlc_handle handle, swayc_t *parent); | 27 | swayc_t *get_swayc_for_handle(wlc_handle handle, swayc_t *parent); |
27 | 28 | ||