renderer-x11-nested: Fix copy-and-paste error

The rounding added in commit c5471e5b8b mixed up some variables,
whoops.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/598
This commit is contained in:
Florian Müllner 2019-05-27 20:03:25 +00:00 committed by Georges Basile Stavracas Neto
parent 80d11287eb
commit 2b47e89405

View File

@ -203,7 +203,7 @@ meta_renderer_x11_nested_create_view (MetaRenderer *renderer,
height = logical_monitor->rect.height;
}
width = roundf (width * view_scale);
height = roundf (width * view_scale);
height = roundf (height * view_scale);
fake_onscreen = create_offscreen (cogl_context, width, height);