[gtk+] wayland: Fix indentation



commit 80dd7566d54bb662ac64d6eed0efd945e98c1456
Author: Jonas Ådahl <jadahl gmail com>
Date:   Tue Jun 28 15:01:04 2016 +0800

    wayland: Fix indentation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769937

 gdk/wayland/gdkwindow-wayland.c |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index e267294..dc8ab41 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1262,24 +1262,24 @@ xdg_surface_configure (void               *data,
         }
     }
 
-   fixed_size =
-       new_state & (GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN | GDK_WINDOW_STATE_TILED);
-
-    /* According to xdg_shell, an xdg_surface.configure with size 0x0
-     * should be interpreted as that it is up to the client to set a
-     * size.
-     *
-     * When transitioning from maximize or fullscreen state, this means
-     * the client should configure its size back to what it was before
-     * being maximize or fullscreen.
-     */
-   if (width == 0 && height == 0 && !fixed_size)
+  fixed_size =
+    new_state & (GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN | GDK_WINDOW_STATE_TILED);
+
+  /* According to xdg_shell, an xdg_surface.configure with size 0x0
+   * should be interpreted as that it is up to the client to set a
+   * size.
+   *
+   * When transitioning from maximize or fullscreen state, this means
+   * the client should configure its size back to what it was before
+   * being maximize or fullscreen.
+   */
+  if (width == 0 && height == 0 && !fixed_size)
     {
       width = impl->saved_width;
       height = impl->saved_height;
     }
 
-   if (width > 0 && height > 0)
+  if (width > 0 && height > 0)
     {
       GdkWindowHints geometry_mask = impl->geometry_mask;
 


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