summaryrefslogtreecommitdiff
path: root/include/sway/container.h
diff options
context:
space:
mode:
authorCalvin Lee <[email protected]>2017-04-02 14:38:33 -0600
committerCalvin Lee <[email protected]>2017-04-03 11:48:37 -0600
commit2445d279604d7be38c00db60ffde4279a3c75459 (patch)
tree030844d9fb13be7814dd760a6ffedbec8f5264cd /include/sway/container.h
parentab7570d311d65ff03fd14627ec3157fa37995ced (diff)
Impliment i3-style marks
This commit adds three commands to sway: `show_marks`, `mark` and `unmark`. Marks are displayed right-aligned in the window border as i3 does. Marks may be found using criteria. Fixes #1007
Diffstat (limited to 'include/sway/container.h')
-rw-r--r--include/sway/container.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/container.h b/include/sway/container.h
index 46925589..37192ce3 100644
--- a/include/sway/container.h
+++ b/include/sway/container.h
@@ -165,6 +165,11 @@ struct sway_container {
* Number of slave groups (e.g. columns) in auto layouts.
*/
size_t nb_slave_groups;
+
+ /**
+ * Marks applied to the container, list_t of char*.
+ */
+ list_t *marks;
};
enum visibility_mask {