[mutter] frames.c: Clip the client area correctly



commit a2b3f9aeb0de6c431eb623f5a6f8b288521b0be9
Author: Benjamin Otte <otte redhat com>
Date:   Mon Sep 27 13:54:39 2010 +0200

    frames.c: Clip the client area correctly
    
    The code switched the x and y variables. Oops.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=630203

 src/ui/frames.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/frames.c b/src/ui/frames.c
index ab55f10..4bfbc34 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -2257,7 +2257,7 @@ subtract_client_area (MetaRegion *region, MetaUIFrame *frame)
                  META_CORE_GET_END);
   meta_theme_get_frame_borders (meta_theme_get_current (),
                          type, frame->text_height, flags, 
-                         &area.x, NULL, &area.y, NULL);
+                         &area.y, NULL, &area.x, NULL);
 
   tmp_region = meta_region_new_from_rectangle (&area);
   meta_region_subtract (region, tmp_region);



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