fix: make windows not resizable

This commit is contained in:
Ashley Wulber 2023-06-20 20:48:13 -04:00 committed by Ashley Wulber
parent 93385bc42c
commit eb810a1436
3 changed files with 3 additions and 0 deletions

View file

@ -23,6 +23,7 @@ pub fn main() -> cosmic::iced::Result {
match &mut settings.initial_surface {
InitialSurface::XdgWindow(s) => {
s.autosize = true;
s.resizable = None;
s.size_limits = Limits::NONE.min_height(1.0).min_width(1.0);
}
_ => {}