[mutter] window-x11: Clean up formatting a bit more



commit e3001794f26458685d7352e787a118c75732a6c4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 1 19:11:17 2014 -0400

    window-x11: Clean up formatting a bit more

 src/x11/window-x11.c |   30 ++++++------------------------
 1 files changed, 6 insertions(+), 24 deletions(-)
---
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 9d04d2d..cca33d8 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -487,14 +487,8 @@ meta_window_apply_session_info (MetaWindow *window,
 
       flags = META_IS_MOVE_ACTION | META_IS_RESIZE_ACTION;
 
-      adjust_for_gravity (window,
-                          FALSE,
-                          gravity,
-                          &rect);
-
-      meta_window_move_resize_internal (window,
-                                        flags,
-                                        gravity,
+      adjust_for_gravity (window, FALSE, gravity, &rect);
+      meta_window_move_resize_internal (window, flags, gravity,
                                         rect.x, rect.y, rect.width, rect.height);
     }
 }
@@ -549,14 +543,8 @@ meta_window_x11_manage (MetaWindow *window)
       rect.width = window->size_hints.width;
       rect.height = window->size_hints.height;
 
-      adjust_for_gravity (window,
-                          TRUE,
-                          gravity,
-                          &rect);
-
-      meta_window_move_resize_internal (window,
-                                        flags,
-                                        gravity,
+      adjust_for_gravity (window, TRUE, gravity, &rect);
+      meta_window_move_resize_internal (window, flags, gravity,
                                         rect.x, rect.y, rect.width, rect.height);
     }
 }
@@ -2090,14 +2078,8 @@ meta_window_move_resize_request (MetaWindow *window,
       rect.width = width;
       rect.height = height;
 
-      adjust_for_gravity (window,
-                          TRUE,
-                          gravity,
-                          &rect);
-
-      meta_window_move_resize_internal (window,
-                                        flags,
-                                        gravity,
+      adjust_for_gravity (window, TRUE, gravity, &rect);
+      meta_window_move_resize_internal (window, flags, gravity,
                                         rect.x, rect.y, rect.width, rect.height);
     }
 


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