Merge pull request #1 from akshayr-mecha/cleanup
cleanup: adds prelude module
This commit is contained in:
+8
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user