summaryrefslogtreecommitdiff
path: root/sway/commands/show_marks.c
diff options
context:
space:
mode:
authorRyan Dwyer <[email protected]>2018-10-31 21:27:38 +1000
committerRyan Dwyer <[email protected]>2018-11-01 18:09:51 +1000
commit9fc736f4e1804b06538191786500f927ba0cda13 (patch)
tree8399de2ba00a8a0dd57f49dfc30455c330500b54 /sway/commands/show_marks.c
parent480b03b734e6d1d068859b254d8ace4fb07b2c54 (diff)
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.c4
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 @@
#include "util.h"
static void rebuild_marks_iterator(struct sway_container *con, void *data) {
- if (con->view) {
- view_update_marks_textures(con->view);
- }
+ container_update_marks_textures(con);
}
struct cmd_results *cmd_show_marks(int argc, char **argv) {