Jonas Dreßler 87e4bf52b7 windowPreview: Fix a division by zero
When the bounding box size is 0 during allocation (which happens right
after creating a window for example), we're doing a division by zero and
end up with a NaN scale. This ends up making the childBox NaN, which
triggers an error in Clutters allocation machinery.

So fix that and fall back to a scale of 1 in case the bounding box is
empty.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1320
2020-06-23 15:50:03 +00:00
..
2020-05-20 15:12:03 +02:00
2020-04-06 11:24:30 -03:00
2020-05-20 15:12:03 +02:00
2020-05-20 15:12:03 +02:00
2020-06-06 01:04:09 +02:00
2020-06-03 12:55:53 -03:00
2020-05-20 15:12:03 +02:00
2020-05-20 15:12:03 +02:00
2020-05-20 15:12:03 +02:00
2020-05-20 15:12:03 +02:00
2020-03-31 05:43:40 +00:00
2019-11-11 19:25:14 +00:00
2020-03-27 10:39:58 +01:00
2020-06-03 12:55:53 -03:00
2020-05-20 15:12:03 +02:00
2020-05-20 15:12:03 +02:00