diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2023-04-06 22:23:53 +0200 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | 1e018e72b4d57c8f354b9be9686a7a75797cdcab (patch) | |
tree | 46e6c588d30ddfc43793d1980b38b8d53bf9bdd7 /sway/commands/client.c | |
parent | scene_graph: Port view saved buffers (diff) | |
download | sway-1e018e72b4d57c8f354b9be9686a7a75797cdcab.tar.gz sway-1e018e72b4d57c8f354b9be9686a7a75797cdcab.tar.zst sway-1e018e72b4d57c8f354b9be9686a7a75797cdcab.zip |
Delete old damage tracking code
The new scene graph abstraction handles this for us.
Diffstat (limited to 'sway/commands/client.c')
-rw-r--r-- | sway/commands/client.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sway/commands/client.c b/sway/commands/client.c index 7a9cff2c..fd2ac7a8 100644 --- a/sway/commands/client.c +++ b/sway/commands/client.c | |||
@@ -51,11 +51,6 @@ static struct cmd_results *handle_command(int argc, char **argv, char *cmd_name, | |||
51 | 51 | ||
52 | if (config->active) { | 52 | if (config->active) { |
53 | root_for_each_container(container_update_iterator, NULL); | 53 | root_for_each_container(container_update_iterator, NULL); |
54 | |||
55 | for (int i = 0; i < root->outputs->length; ++i) { | ||
56 | struct sway_output *output = root->outputs->items[i]; | ||
57 | output_damage_whole(output); | ||
58 | } | ||
59 | } | 54 | } |
60 | 55 | ||
61 | return cmd_results_new(CMD_SUCCESS, NULL); | 56 | return cmd_results_new(CMD_SUCCESS, NULL); |