diff --git a/protocols/session_core_v1.xml b/protocols/session_core_v1.xml
index 47044a5..886fcd7 100644
--- a/protocols/session_core_v1.xml
+++ b/protocols/session_core_v1.xml
@@ -1,5 +1,27 @@
+
+ Copyright (c) 2026 Oskar Rochowiak
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+
diff --git a/src/main.rs b/src/main.rs
index 15d6e70..3a11561 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,7 @@
mod session_management_v2 {
hyprwire::include_protocol!("session_management_v2");
pub use client::*;
+ pub use spec::*;
}
mod session_core_v1 {
hyprwire::include_protocol!("session_core_v1");
@@ -344,6 +345,7 @@ impl hyprwire::Dispatch for SessiondDi
);
return;
};
+ session_object.send_class(session_management_v2::SessionClass::Manager);
session_object.send_done();
self.managed_sessions.push(ManagedSession {