diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-04-03 14:52:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-03 14:52:20 -0400 |
commit | 7d43a76b4e765eb8072c09cdec3847e877cf65d7 (patch) | |
tree | 030844d9fb13be7814dd760a6ffedbec8f5264cd /include | |
parent | Update man page (diff) | |
parent | Impliment i3-style marks (diff) | |
download | sway-7d43a76b4e765eb8072c09cdec3847e877cf65d7.tar.gz sway-7d43a76b4e765eb8072c09cdec3847e877cf65d7.tar.zst sway-7d43a76b4e765eb8072c09cdec3847e877cf65d7.zip |
Impliment i3-style marks
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 3 | ||||
-rw-r--r-- | include/sway/config.h | 1 | ||||
-rw-r--r-- | include/sway/container.h | 5 |
3 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 511bee4d..35a2f92a 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -126,6 +126,7 @@ sway_cmd cmd_ipc; | |||
126 | sway_cmd cmd_kill; | 126 | sway_cmd cmd_kill; |
127 | sway_cmd cmd_layout; | 127 | sway_cmd cmd_layout; |
128 | sway_cmd cmd_log_colors; | 128 | sway_cmd cmd_log_colors; |
129 | sway_cmd cmd_mark; | ||
129 | sway_cmd cmd_mode; | 130 | sway_cmd cmd_mode; |
130 | sway_cmd cmd_mouse_warping; | 131 | sway_cmd cmd_mouse_warping; |
131 | sway_cmd cmd_move; | 132 | sway_cmd cmd_move; |
@@ -140,12 +141,14 @@ sway_cmd cmd_resize; | |||
140 | sway_cmd cmd_scratchpad; | 141 | sway_cmd cmd_scratchpad; |
141 | sway_cmd cmd_seamless_mouse; | 142 | sway_cmd cmd_seamless_mouse; |
142 | sway_cmd cmd_set; | 143 | sway_cmd cmd_set; |
144 | sway_cmd cmd_show_marks; | ||
143 | sway_cmd cmd_smart_gaps; | 145 | sway_cmd cmd_smart_gaps; |
144 | sway_cmd cmd_split; | 146 | sway_cmd cmd_split; |
145 | sway_cmd cmd_splith; | 147 | sway_cmd cmd_splith; |
146 | sway_cmd cmd_splitt; | 148 | sway_cmd cmd_splitt; |
147 | sway_cmd cmd_splitv; | 149 | sway_cmd cmd_splitv; |
148 | sway_cmd cmd_sticky; | 150 | sway_cmd cmd_sticky; |
151 | sway_cmd cmd_unmark; | ||
149 | sway_cmd cmd_workspace; | 152 | sway_cmd cmd_workspace; |
150 | sway_cmd cmd_ws_auto_back_and_forth; | 153 | sway_cmd cmd_ws_auto_back_and_forth; |
151 | sway_cmd cmd_workspace_layout; | 154 | sway_cmd cmd_workspace_layout; |
diff --git a/include/sway/config.h b/include/sway/config.h index d77fbd51..2de90434 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -275,6 +275,7 @@ struct sway_config { | |||
275 | bool reading; | 275 | bool reading; |
276 | bool auto_back_and_forth; | 276 | bool auto_back_and_forth; |
277 | bool seamless_mouse; | 277 | bool seamless_mouse; |
278 | bool show_marks; | ||
278 | 279 | ||
279 | bool edge_gaps; | 280 | bool edge_gaps; |
280 | bool smart_gaps; | 281 | bool smart_gaps; |
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 { | |||
165 | * Number of slave groups (e.g. columns) in auto layouts. | 165 | * Number of slave groups (e.g. columns) in auto layouts. |
166 | */ | 166 | */ |
167 | size_t nb_slave_groups; | 167 | size_t nb_slave_groups; |
168 | |||
169 | /** | ||
170 | * Marks applied to the container, list_t of char*. | ||
171 | */ | ||
172 | list_t *marks; | ||
168 | }; | 173 | }; |
169 | 174 | ||
170 | enum visibility_mask { | 175 | enum visibility_mask { |