diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 8 |
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 | ||