aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/show_marks.c
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-11-21 19:51:57 -0500
committerKirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commit6d7b1321db54155cf78305dbafdcfc7de9b78415 (patch)
treeacf9f02681b1d5a40416be5f4151641920176a93 /sway/commands/show_marks.c
parent188811f80861caacd016b857b0d07f6d2d62d15a (diff)
scene_graph: Port container server side decorations
Diffstat (limited to 'sway/commands/show_marks.c')
-rw-r--r--sway/commands/show_marks.c6
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 @@
#include "stringop.h"
#include "util.h"
-static void rebuild_marks_iterator(struct sway_container *con, void *data) {
- container_update_marks_textures(con);
+static void title_bar_update_iterator(struct sway_container *con, void *data) {
+ container_update_marks(con);
}
struct cmd_results *cmd_show_marks(int argc, char **argv) {
@@ -23,7 +23,7 @@ struct cmd_results *cmd_show_marks(int argc, char **argv) {
config->show_marks = parse_boolean(argv[0], config->show_marks);
if (config->show_marks) {
- root_for_each_container(rebuild_marks_iterator, NULL);
+ root_for_each_container(title_bar_update_iterator, NULL);
}
for (int i = 0; i < root->outputs->length; ++i) {