[mutter] window: remove redundant condition



commit d3edcbc11ea3d1e12fbdc4788305b595fa9afe79
Author: Rui Matos <tiagomatos gmail com>
Date:   Wed Jul 27 01:13:53 2011 +0100

    window: remove redundant condition
    
    This condition is already checked for at this point.

 src/core/window.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 2857825..35bdf02 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -8745,8 +8745,7 @@ update_resize (MetaWindow *window,
        */
       if (old.width != new_w || old.height != new_h)
         {
-          if ((window->display->grab_resize_unmaximize == new_unmaximize))
-            meta_window_resize_with_gravity (window, TRUE, new_w, new_h, gravity);
+          meta_window_resize_with_gravity (window, TRUE, new_w, new_h, gravity);
         }
     }
   else



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