mirror of
https://github.com/swaywm/sway.git
synced 2026-04-23 06:46:27 -04:00
container: Remove useless surface dimensions
The adjustments to resize logic left them unnecessary.
This commit is contained in:
parent
7670f1a521
commit
5a4a7bc0da
6 changed files with 8 additions and 15 deletions
|
|
@ -171,8 +171,8 @@ void output_view_for_each_surface(struct sway_output *output,
|
|||
- view->geometry.x,
|
||||
.oy = view->container->surface_y - output->ly
|
||||
- view->geometry.y,
|
||||
.width = view->container->surface_width,
|
||||
.height = view->container->surface_height,
|
||||
.width = view->container->current.content_width,
|
||||
.height = view->container->current.content_height,
|
||||
.rotation = 0, // TODO
|
||||
};
|
||||
|
||||
|
|
@ -191,8 +191,8 @@ void output_view_for_each_popup(struct sway_output *output,
|
|||
- view->geometry.x,
|
||||
.oy = view->container->surface_y - output->ly
|
||||
- view->geometry.y,
|
||||
.width = view->container->surface_width,
|
||||
.height = view->container->surface_height,
|
||||
.width = view->container->current.content_width,
|
||||
.height = view->container->current.content_height,
|
||||
.rotation = 0, // TODO
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue