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:
parent
2b1acea1b0
commit
358b67871f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user