mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
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:
parent
d19295a68e
commit
a2b3f9aeb0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user