zed/crates/gpui
Thorsten Ball f938bae0a2 Use NSScreen to fetch primary display
According to Chromium source, `NSScreen::screens` should always get us
one display.

We made this change because we ran into panics caused by the previous
`unwrap()` when `CGGetActiveDisplayList` might return an empty list.
2024-01-16 14:23:10 +01:00
..
docs
src Use NSScreen to fetch primary display 2024-01-16 14:23:10 +01:00
tests
build.rs
Cargo.toml