diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-10-31 21:27:38 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-11-01 18:09:51 +1000 |
commit | 9fc736f4e1804b06538191786500f927ba0cda13 (patch) | |
tree | 8399de2ba00a8a0dd57f49dfc30455c330500b54 /sway/commands/show_marks.c | |
parent | Merge pull request #3040 from RyanDwyer/border-props-to-container (diff) | |
download | sway-9fc736f4e1804b06538191786500f927ba0cda13.tar.gz sway-9fc736f4e1804b06538191786500f927ba0cda13.tar.zst sway-9fc736f4e1804b06538191786500f927ba0cda13.zip |
Move view marks properties to container struct
Like border properties, this will be needed to implement layout saving
and restoring.
Diffstat (limited to 'sway/commands/show_marks.c')
-rw-r--r-- | sway/commands/show_marks.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sway/commands/show_marks.c b/sway/commands/show_marks.c index d501584a..0baf6852 100644 --- a/sway/commands/show_marks.c +++ b/sway/commands/show_marks.c | |||
@@ -11,9 +11,7 @@ | |||
11 | #include "util.h" | 11 | #include "util.h" |
12 | 12 | ||
13 | static void rebuild_marks_iterator(struct sway_container *con, void *data) { | 13 | static void rebuild_marks_iterator(struct sway_container *con, void *data) { |
14 | if (con->view) { | 14 | container_update_marks_textures(con); |
15 | view_update_marks_textures(con->view); | ||
16 | } | ||
17 | } | 15 | } |
18 | 16 | ||
19 | struct cmd_results *cmd_show_marks(int argc, char **argv) { | 17 | struct cmd_results *cmd_show_marks(int argc, char **argv) { |