Merge pull request #1 from akshayr-mecha/cleanup

cleanup: adds prelude module
This commit is contained in:
Naman Agrawal
2025-08-28 11:17:39 +05:30
committed by GitHub
4 changed files with 232 additions and 976 deletions
+8 -1
View File
@@ -5,7 +5,7 @@ use smithay_client_toolkit::{
reexports::{
calloop::EventLoop,
calloop_wayland_source::WaylandSource,
client::{globals::registry_queue_init, Connection},
client::{Connection, globals::registry_queue_init},
},
registry::{ProvidesRegistryState, RegistryState},
registry_handlers,
@@ -19,6 +19,13 @@ mod output_handler;
pub mod session_lock;
mod surface_handler;
pub mod prelude {
pub use crate::WaylandPlugin;
pub use crate::input_region::InputRegion;
pub use crate::layer_shell::{LayerShellSettings, LayerShellWindowSize};
pub use smithay_client_toolkit::shell::wlr_layer::{Anchor, KeyboardInteractivity, Layer};
}
#[derive(Default)]
pub struct WaylandPlugin;
impl Plugin for WaylandPlugin {