aboutsummaryrefslogtreecommitdiffstats
path: root/include/container.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-08-25 16:12:37 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-08-25 16:12:37 -0400
commitfa6292ff24082f90886353844b45e99ec965daa5 (patch)
tree06f9219532f6f057410910dbfe43d3884acd90bc /include/container.h
parentMerge pull request #125 from Luminarys/master (diff)
parentfixed moving to other output and visibility (diff)
downloadsway-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.h7
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
59enum visibility_mask {
60 VISIBLE = 1
61};
62
59// Container Creation 63// Container Creation
60 64
61swayc_t *new_output(wlc_handle handle); 65swayc_t *new_output(wlc_handle handle);
@@ -106,4 +110,7 @@ void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *);
106void set_view_visibility(swayc_t *view, void *data); 110void set_view_visibility(swayc_t *view, void *data);
107void reset_gaps(swayc_t *view, void *data); 111void reset_gaps(swayc_t *view, void *data);
108 112
113
114void update_visibility(swayc_t *container);
115
109#endif 116#endif