From a2b3f9aeb0de6c431eb623f5a6f8b288521b0be9 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 27 Sep 2010 13:54:39 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/frames.c b/src/ui/frames.c index ab55f1051..4bfbc3461 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);