ltk/protocol/
xdg_session_management_v1.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SPDX-License-Identifier: LGPL-2.1-only
// Copyright (C) 2026 Liberux Labs, S. L. <info@liberux.net>

//! `xdg-session-management-v1` (staging). Mirrors the `wayland_protocol!`
//! macro of `wayland-protocols`; the crate names the generated code expects
//! are satisfied through sctk's reexports so ltk stays on the exact crate
//! instances sctk links.
#![ allow( dead_code, non_camel_case_types, unused_unsafe, unused_variables ) ]
#![ allow( non_upper_case_globals, non_snake_case, unused_imports ) ]
#![ allow( missing_docs, clippy::all ) ]

use smithay_client_toolkit::reexports::client as wayland_client;
use smithay_client_toolkit::reexports::protocols::xdg::shell::client::*;
use wayland_client::protocol::*;

pub mod __interfaces
{
	use smithay_client_toolkit::reexports::client::backend as wayland_backend;
	use smithay_client_toolkit::reexports::client::protocol::__interfaces::*;
	use smithay_client_toolkit::reexports::protocols::xdg::shell::client::__interfaces::*;
	wayland_scanner::generate_interfaces!( "protocols/xdg-session-management-v1.xml" );
}
use self::__interfaces::*;

wayland_scanner::generate_client_code!( "protocols/xdg-session-management-v1.xml" );