aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.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/output.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/output.c')
-rw-r--r--sway/desktop/output.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 18250ae6..2a2e332a 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -171,8 +171,8 @@ void output_view_for_each_surface(struct sway_output *output,
171 - view->geometry.x, 171 - view->geometry.x,
172 .oy = view->container->surface_y - output->ly 172 .oy = view->container->surface_y - output->ly
173 - view->geometry.y, 173 - view->geometry.y,
174 .width = view->container->surface_width, 174 .width = view->container->current.content_width,
175 .height = view->container->surface_height, 175 .height = view->container->current.content_height,
176 .rotation = 0, // TODO 176 .rotation = 0, // TODO
177 }; 177 };
178 178
@@ -191,8 +191,8 @@ void output_view_for_each_popup(struct sway_output *output,
191 - view->geometry.x, 191 - view->geometry.x,
192 .oy = view->container->surface_y - output->ly 192 .oy = view->container->surface_y - output->ly
193 - view->geometry.y, 193 - view->geometry.y,
194 .width = view->container->surface_width, 194 .width = view->container->current.content_width,
195 .height = view->container->surface_height, 195 .height = view->container->current.content_height,
196 .rotation = 0, // TODO 196 .rotation = 0, // TODO
197 }; 197 };
198 198