diff --git a/src/core/boxes.c b/src/core/boxes.c index 0e9affec4..29cba5778 100644 --- a/src/core/boxes.c +++ b/src/core/boxes.c @@ -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) {