linux: Respect window_min_size property (#15314)

https://github.com/zed-industries/zed/pull/13126 added the
`window_min_size` property for window creation, but it was only
implemented for macOS. This PR implements the property on Linux as well.

Release Notes:

- N/A
This commit is contained in:
apricotbucket28 2024-07-26 22:02:31 -03:00 committed by GitHub
parent 3751f67730
commit 88653c4e3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 2 deletions

View file

@ -706,7 +706,6 @@ pub(crate) struct WindowParams {
pub display_id: Option<DisplayId>,
#[cfg_attr(target_os = "linux", allow(dead_code))]
pub window_min_size: Option<Size<Pixels>>,
}