summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/boxes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/boxes.c b/src/core/boxes.c
index 93f7db44..19dd939e 100644
--- a/src/core/boxes.c
+++ b/src/core/boxes.c
@@ -414,7 +414,7 @@ merge_spanning_rects_in_region (GList *region)
delete_me = other;
}
/* If b contains a, just remove a */
- else if (meta_rectangle_contains_rect (a, b))
+ else if (meta_rectangle_contains_rect (b, a))
{
delete_me = compare;
}