add window name on linux

[?]
Sep 17, 2025, 4:13 PM
IN2JREDBRA56UC3H2PGS2DSLCAHGIHLE47JZF33AEID4EIZICDSAC

Dependencies

Change contents

  • file addition: window.rs (----------)
    [4.364]
    //! OS window handling
    pub const NAME: &str = "Inflorescence";
    #[doc(inline)]
    pub use iced::window::{events, Event, Id, Settings};
    #[cfg(target_os = "linux")]
    pub fn settings() -> Settings {
    Settings {
    platform_specific: iced::window::settings::PlatformSpecific {
    application_id: NAME.to_string(),
    override_redirect: false,
    },
    ..Default::default()
    }
    }
    #[cfg(not(target_os = "linux"))]
    pub fn settings() -> Settings {
    Settings::default()
    }
  • edit in inflorescence/src/main.rs at line 7
    [7.4103]
    [3.1219]
    mod window;
  • replacement in inflorescence/src/main.rs at line 19
    [9.82][6.5279:5322](),[10.8783][6.5279:5322](),[5.25459][6.5279:5322]()
    use iced::{window, Element, Subscription};
    [10.8783]
    [2.4438]
    use iced::{Element, Subscription};
  • replacement in inflorescence/src/main.rs at line 89
    [7.4278][8.4531:4586]()
    let window_settings = window::Settings::default();
    [7.4278]
    [8.4586]
    let window_settings = window::settings();