boxes: Assign input to output rect when there's no transformation

https://gitlab.gnome.org/GNOME/mutter/merge_requests/469
This commit is contained in:
Marco Trevisan (Treviño) 2019-03-05 20:10:32 +01:00 committed by Jonas Ådahl
parent 2b1acea1b0
commit 358b67871f

View File

@ -2068,12 +2068,7 @@ meta_rectangle_transform (const MetaRectangle *rect,
switch (transform)
{
case META_MONITOR_TRANSFORM_NORMAL:
*dest = (MetaRectangle) {
.x = rect->x,
.y = rect->y,
.width = rect->width,
.height = rect->height,
};
*dest = *rect;
break;
case META_MONITOR_TRANSFORM_90:
*dest = (MetaRectangle) {