diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-25 16:12:37 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-25 16:12:37 -0400 |
commit | fa6292ff24082f90886353844b45e99ec965daa5 (patch) | |
tree | 06f9219532f6f057410910dbfe43d3884acd90bc /include/container.h | |
parent | Merge pull request #125 from Luminarys/master (diff) | |
parent | fixed moving to other output and visibility (diff) | |
download | sway-fa6292ff24082f90886353844b45e99ec965daa5.tar.gz sway-fa6292ff24082f90886353844b45e99ec965daa5.tar.zst sway-fa6292ff24082f90886353844b45e99ec965daa5.zip |
Merge pull request #129 from minus7/workspaces
Implemented "move container to workspace"
Diffstat (limited to 'include/container.h')
-rw-r--r-- | include/container.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h index aadba5de..798a31a2 100644 --- a/include/container.h +++ b/include/container.h | |||
@@ -56,6 +56,10 @@ struct sway_container { | |||
56 | struct sway_container *focused; | 56 | struct sway_container *focused; |
57 | }; | 57 | }; |
58 | 58 | ||
59 | enum visibility_mask { | ||
60 | VISIBLE = 1 | ||
61 | }; | ||
62 | |||
59 | // Container Creation | 63 | // Container Creation |
60 | 64 | ||
61 | swayc_t *new_output(wlc_handle handle); | 65 | swayc_t *new_output(wlc_handle handle); |
@@ -106,4 +110,7 @@ void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *); | |||
106 | void set_view_visibility(swayc_t *view, void *data); | 110 | void set_view_visibility(swayc_t *view, void *data); |
107 | void reset_gaps(swayc_t *view, void *data); | 111 | void reset_gaps(swayc_t *view, void *data); |
108 | 112 | ||
113 | |||
114 | void update_visibility(swayc_t *container); | ||
115 | |||
109 | #endif | 116 | #endif |