[mutter] renderer-x11-nested: Fix copy-and-paste error



commit 2b47e894054eab0d9fdfcba6d9c1b0ae91bd9efc
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon May 27 20:03:25 2019 +0000

    renderer-x11-nested: Fix copy-and-paste error
    
    The rounding added in commit c5471e5b8b1 mixed up some variables,
    whoops.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/598

 src/backends/x11/nested/meta-renderer-x11-nested.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backends/x11/nested/meta-renderer-x11-nested.c 
b/src/backends/x11/nested/meta-renderer-x11-nested.c
index 71a85a8c2..5000bf357 100644
--- a/src/backends/x11/nested/meta-renderer-x11-nested.c
+++ b/src/backends/x11/nested/meta-renderer-x11-nested.c
@@ -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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]