diff --git a/src/ifs/jay_compositor.rs b/src/ifs/jay_compositor.rs index cf86a67a..1b179165 100644 --- a/src/ifs/jay_compositor.rs +++ b/src/ifs/jay_compositor.rs @@ -41,9 +41,7 @@ use { thiserror::Error, }; -pub const CREATE_EI_SESSION_SINCE: Version = Version(5); pub const SCREENSHOT_SPLITUP_SINCE: Version = Version(6); -pub const GET_TOPLEVEL_SINCE: Version = Version(12); pub struct JayCompositorGlobal { name: GlobalName, diff --git a/src/macros.rs b/src/macros.rs index f8c0339e..21a3f30e 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -123,40 +123,6 @@ macro_rules! id { }; } -macro_rules! shared_ids { - ($id:ident) => { - shared_ids!($id, u32); - }; - ($id:ident, $ty:ty) => { - #[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)] - pub struct $id($ty); - - impl $id { - #[expect(dead_code)] - pub fn raw(&self) -> $ty { - self.0 - } - - #[expect(dead_code)] - pub fn from_raw(id: $ty) -> Self { - Self(id) - } - } - - impl From<$ty> for $id { - fn from(id: $ty) -> Self { - Self(id) - } - } - - impl std::fmt::Display for $id { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - std::fmt::Display::fmt(&self.0, f) - } - } - }; -} - macro_rules! linear_ids { ($(#[$attr1:meta])* $ids:ident, $id:ident $(,)?) => { linear_ids!($(#[$attr1])* $ids, $id, u32);