diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-11-21 19:51:57 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | 6d7b1321db54155cf78305dbafdcfc7de9b78415 (patch) | |
tree | acf9f02681b1d5a40416be5f4151641920176a93 /sway/commands/show_marks.c | |
parent | scene_graph: Port layer_shell (diff) | |
download | sway-6d7b1321db54155cf78305dbafdcfc7de9b78415.tar.gz sway-6d7b1321db54155cf78305dbafdcfc7de9b78415.tar.zst sway-6d7b1321db54155cf78305dbafdcfc7de9b78415.zip |
scene_graph: Port container server side decorations
Diffstat (limited to 'sway/commands/show_marks.c')
-rw-r--r-- | sway/commands/show_marks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands/show_marks.c b/sway/commands/show_marks.c index 0d373b80..f738144f 100644 --- a/sway/commands/show_marks.c +++ b/sway/commands/show_marks.c | |||
@@ -10,8 +10,8 @@ | |||
10 | #include "stringop.h" | 10 | #include "stringop.h" |
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 title_bar_update_iterator(struct sway_container *con, void *data) { |
14 | container_update_marks_textures(con); | 14 | container_update_marks(con); |
15 | } | 15 | } |
16 | 16 | ||
17 | struct cmd_results *cmd_show_marks(int argc, char **argv) { | 17 | struct cmd_results *cmd_show_marks(int argc, char **argv) { |
@@ -23,7 +23,7 @@ struct cmd_results *cmd_show_marks(int argc, char **argv) { | |||
23 | config->show_marks = parse_boolean(argv[0], config->show_marks); | 23 | config->show_marks = parse_boolean(argv[0], config->show_marks); |
24 | 24 | ||
25 | if (config->show_marks) { | 25 | if (config->show_marks) { |
26 | root_for_each_container(rebuild_marks_iterator, NULL); | 26 | root_for_each_container(title_bar_update_iterator, NULL); |
27 | } | 27 | } |
28 | 28 | ||
29 | for (int i = 0; i < root->outputs->length; ++i) { | 29 | for (int i = 0; i < root->outputs->length; ++i) { |