aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/transaction.c
diff options
context:
space:
mode:
authorLibravatar Kenny Levinsen <kl@kl.wtf>2020-06-03 14:39:12 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2020-06-03 16:41:17 +0200
commit5a4a7bc0dad1bb07312f41d6cce9b5a6fc8d884d (patch)
tree26824b89fe15a3ffc4876d1dba6a6c4ca99866a8 /sway/desktop/transaction.c
parenttransaction: Improve transaction commentary (diff)
downloadsway-5a4a7bc0dad1bb07312f41d6cce9b5a6fc8d884d.tar.gz
sway-5a4a7bc0dad1bb07312f41d6cce9b5a6fc8d884d.tar.zst
sway-5a4a7bc0dad1bb07312f41d6cce9b5a6fc8d884d.zip
container: Remove useless surface dimensions
The adjustments to resize logic left them unnecessary.
Diffstat (limited to 'sway/desktop/transaction.c')
-rw-r--r--sway/desktop/transaction.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index 053312a5..7b9ab586 100644
--- a/sway/desktop/transaction.c
+++ b/sway/desktop/transaction.c
@@ -267,8 +267,6 @@ static void apply_container_state(struct sway_container *container,
267 } else { 267 } else {
268 container->surface_y = container->current.content_y; 268 container->surface_y = container->current.content_y;
269 } 269 }
270 container->surface_width = container->current.content_width;
271 container->surface_height = container->current.content_height;
272 } 270 }
273 271
274 if (!container->node.destroying) { 272 if (!container->node.destroying) {