Files
oak-gpui/crates/gpui/src
Thorsten Ball 03bfe3ef80 Call CGGetActiveDisplayList once to avoid panic
Previously we called CGGetActiveDisplayList twice: once to get the
number of displays and then to get the displays.

We saw a panic due to no displays being returned here. As a first
attempt to fix the panic, we're reducing the amount of calls to
CGGetActiveDisplayList and just do one with the trade-off being that we
pre-allocate 32 pointers in a Vec.
2024-01-16 12:01:54 +01:00
..
2024-01-10 19:39:43 -08:00
2024-01-03 12:59:39 -08:00
2024-01-12 20:10:40 -08:00
2024-01-08 19:07:20 +01:00
2024-01-09 10:55:49 -05:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-09 10:55:49 -05:00
2024-01-03 12:59:39 -08:00
2024-01-09 15:08:05 -08:00
2024-01-15 14:32:48 -07:00
2024-01-03 12:59:39 -08:00
2024-01-12 20:10:40 -08:00