aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/arrange.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-05 20:32:31 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-05 20:32:31 +1000
commite83e5487be4142af290e772199c2870d6140be46 (patch)
treed88f77c7ca8d54d8a64c3e713a05c6b9d18c59f7 /sway/tree/arrange.c
parentMerge pull request #1912 from Hello71/patch-1 (diff)
downloadsway-e83e5487be4142af290e772199c2870d6140be46.tar.gz
sway-e83e5487be4142af290e772199c2870d6140be46.tar.zst
sway-e83e5487be4142af290e772199c2870d6140be46.zip
Use scissor to render title texture
This allows the title's texture to always be the full width of the text, and clipped at render time according to the desired width (eg. tabs...). As an added bonus, the texture no longer needs to be updated when containers are arranged.
Diffstat (limited to 'sway/tree/arrange.c')
-rw-r--r--sway/tree/arrange.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/tree/arrange.c b/sway/tree/arrange.c
index 1299beb6..83bb20fb 100644
--- a/sway/tree/arrange.c
+++ b/sway/tree/arrange.c
@@ -203,7 +203,6 @@ void arrange_children_of(struct sway_container *parent) {
203 } else { 203 } else {
204 arrange_children_of(child); 204 arrange_children_of(child);
205 } 205 }
206 container_update_title_textures(child);
207 } 206 }
208 container_damage_whole(parent); 207 container_damage_whole(parent);
209 update_debug_tree(); 208 update_debug_tree();