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/client.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/client.c')
-rw-r--r-- | sway/commands/client.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sway/commands/client.c b/sway/commands/client.c index 77263145..7a9cff2c 100644 --- a/sway/commands/client.c +++ b/sway/commands/client.c | |||
@@ -5,9 +5,8 @@ | |||
5 | #include "sway/tree/container.h" | 5 | #include "sway/tree/container.h" |
6 | #include "util.h" | 6 | #include "util.h" |
7 | 7 | ||
8 | static void rebuild_textures_iterator(struct sway_container *con, void *data) { | 8 | static void container_update_iterator(struct sway_container *con, void *data) { |
9 | container_update_marks_textures(con); | 9 | container_update(con); |
10 | container_update_title_textures(con); | ||
11 | } | 10 | } |
12 | 11 | ||
13 | static struct cmd_results *handle_command(int argc, char **argv, char *cmd_name, | 12 | static struct cmd_results *handle_command(int argc, char **argv, char *cmd_name, |
@@ -51,7 +50,7 @@ static struct cmd_results *handle_command(int argc, char **argv, char *cmd_name, | |||
51 | memcpy(class, &colors, sizeof(struct border_colors)); | 50 | memcpy(class, &colors, sizeof(struct border_colors)); |
52 | 51 | ||
53 | if (config->active) { | 52 | if (config->active) { |
54 | root_for_each_container(rebuild_textures_iterator, NULL); | 53 | root_for_each_container(container_update_iterator, NULL); |
55 | 54 | ||
56 | for (int i = 0; i < root->outputs->length; ++i) { | 55 | for (int i = 0; i < root->outputs->length; ++i) { |
57 | struct sway_output *output = root->outputs->items[i]; | 56 | struct sway_output *output = root->outputs->items[i]; |