aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorLibravatar Alexander Orzechowski <orzechowski.alexander@gmail.com>2023-04-06 22:23:53 +0200
committerLibravatar Kirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commit1e018e72b4d57c8f354b9be9686a7a75797cdcab (patch)
tree46e6c588d30ddfc43793d1980b38b8d53bf9bdd7 /sway/tree/container.c
parentscene_graph: Port view saved buffers (diff)
downloadsway-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/tree/container.c')
-rw-r--r--sway/tree/container.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 4aae4d32..cde9dff5 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -597,12 +597,6 @@ bool container_has_ancestor(struct sway_container *descendant,
597 return false; 597 return false;
598} 598}
599 599
600void container_damage_whole(struct sway_container *container) {
601 for (int i = 0; i < root->outputs->length; ++i) {
602 struct sway_output *output = root->outputs->items[i];
603 output_damage_whole_container(output, container);
604 }
605}
606 600
607/** 601/**
608 * Return the output which will be used for scale purposes. 602 * Return the output which will be used for scale purposes.