github Smithay/smithay v0.5.0
v0.5.0 The nameless smith

latest release: v0.5.1
one day ago

API Changes

Items either removed or deprecated from the public API

/// Use Clone instead
impl Copy for smithay::utils::HookId;
/// Use `from_extremities` instead
fn smithay::utils::Rectangle::from_extemities(topleft, bottomright) -> Self;

Items added to the public API

/// Replaces deprecated `from_extemities`
fn smithay::utils::Rectangle::from_extremities(topleft, bottomright) -> Self;
/// Access the active text-input instance for the currently focused surface.
fn smithay::wayland::text_input::TextInputHandle::with_active_text_input(&self, f);
/// Just a new protocol
mod smithay::wayland::selection::ext_data_control;

Changes in the public API

# create_external_token now accepts `XdgActivationTokenData` instead of `String`
-fn smithay::wayland::xdg_activation::XdgActivationState::create_external_token(&mut self, app_id: impl Into<Option<String>>);
+fn smithay::wayland::xdg_activation::XdgActivationState::create_external_token(&mut self, data: impl Into<Option<XdgActivationTokenData>>);

New protocols

TextInput improvements

  • Revert "Fix repeated key input issue in Chrome with multiple windows" by @Drakulix in #1647
  • text-input: fix active instance tracking by @kchibisov in #1648
  • text-input: properly handle double buffered state by @kchibisov in #1649

Miscellaneous fixes

  • clock: Fix current monotonic time in millis u32 overflow panic by @YaLTeR in #1645
  • xwm: Update override-redirect flag on map request by @Ottatop in #1656
  • utils: Rework HookId recycle logic by @Paraworker in #1657
  • rename Rectangle::from_extemities to Rectangle::from_extremeties by @m4rch3n1ng in #1646
  • xdg_activation: Allow passing all data in XdgActivationState::create_external_token by @bbb651 in #1658

Full Changelog: v0.4.0...v0.5.0

Don't miss a new smithay release

NewReleases is sending notifications on new releases.