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
This commit is contained in:
Benjamin Otte 2010-09-27 13:54:39 +02:00
parent d19295a68e
commit a2b3f9aeb0

View File

@ -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);