[mutter] clutter-utils: Fix a couple of coding style issues



commit 62d0dd907bb81955e6bec88ce3696fc3893f5f0b
Author: Jonas Ådahl <jadahl gmail com>
Date:   Fri Mar 13 18:49:21 2020 +0100

    clutter-utils: Fix a couple of coding style issues
    
    Multiple assignments on the same line were split up, so was a super long
    line.
    
    https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1124

 src/compositor/clutter-utils.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/compositor/clutter-utils.c b/src/compositor/clutter-utils.c
index 949d99ba1..d4b026e38 100644
--- a/src/compositor/clutter-utils.c
+++ b/src/compositor/clutter-utils.c
@@ -76,7 +76,8 @@ meta_actor_vertices_are_untransformed (graphene_point3d_t *verts,
   int v0x, v0y, v1x, v1y, v2x, v2y, v3x, v3y;
   int x, y;
 
-  width = round_to_fixed (widthf); height = round_to_fixed (heightf);
+  width = round_to_fixed (widthf);
+  height = round_to_fixed (heightf);
 
   v0x = round_to_fixed (verts[0].x); v0y = round_to_fixed (verts[0].y);
   v1x = round_to_fixed (verts[1].x); v1y = round_to_fixed (verts[1].y);
@@ -165,7 +166,11 @@ meta_actor_painting_untransformed (CoglFramebuffer *fb,
   for (i = 0; i < 4; i++)
     {
       float w = 1;
-      cogl_matrix_transform_point (&modelview_projection, &vertices[i].x, &vertices[i].y, &vertices[i].z, 
&w);
+      cogl_matrix_transform_point (&modelview_projection,
+                                   &vertices[i].x,
+                                   &vertices[i].y,
+                                   &vertices[i].z,
+                                   &w);
       vertices[i].x = MTX_GL_SCALE_X (vertices[i].x, w,
                                       viewport[2], viewport[0]);
       vertices[i].y = MTX_GL_SCALE_Y (vertices[i].y, w,


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