Skip to content

Commit

Permalink
Fix waynest imports
Browse files Browse the repository at this point in the history
  • Loading branch information
morr0ne committed Sep 15, 2024
1 parent 2b4ad7f commit 511db39
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/protocol/wayland/callback.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use waynest::server::{Dispatcher, Result};

pub use waynest::server::protocol::wayland::wl_callback::*;
pub use waynest::server::protocol::core::wayland::wl_callback::*;

#[derive(Debug, Dispatcher, Default)]
pub struct Callback;
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/wayland/compositor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use waynest::{
wire::ObjectId,
};

pub use waynest::server::protocol::wayland::wl_compositor::*;
pub use waynest::server::protocol::core::wayland::wl_compositor::*;

#[derive(Debug, Dispatcher, Default)]
pub struct Compositor;
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/wayland/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use waynest::{
wire::ObjectId,
};

pub use waynest::server::protocol::wayland::wl_display::*;
pub use waynest::server::protocol::core::wayland::wl_display::*;

#[derive(Debug, Dispatcher, Default)]
pub struct Display;
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/wayland/output.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use waynest::server::{Client, Dispatcher, Object, Result};

pub use waynest::server::protocol::wayland::wl_output::*;
pub use waynest::server::protocol::core::wayland::wl_output::*;

#[derive(Debug, Dispatcher, Default)]
pub struct Output;
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/wayland/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use waynest::{
wire::NewId,
};

pub use waynest::server::protocol::wayland::wl_registry::*;
pub use waynest::server::protocol::core::wayland::wl_registry::*;

struct RegistryGlobals;

Expand Down
2 changes: 1 addition & 1 deletion src/protocol/wayland/seat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use waynest::{
wire::ObjectId,
};

pub use waynest::server::protocol::wayland::wl_seat::*;
pub use waynest::server::protocol::core::wayland::wl_seat::*;

#[derive(Debug, Dispatcher, Default)]
pub struct Seat;
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/wayland/shm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use waynest::{
wire::ObjectId,
};

pub use waynest::server::protocol::wayland::wl_shm::*;
pub use waynest::server::protocol::core::wayland::wl_shm::*;

#[derive(Debug, Dispatcher, Default)]
pub struct Shm;
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/wayland/shm_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use waynest::{
wire::ObjectId,
};

pub use waynest::server::protocol::wayland::wl_shm_pool::*;
pub use waynest::server::protocol::core::wayland::wl_shm_pool::*;

#[derive(Debug, Dispatcher)]
pub struct ShmPool {
Expand Down
4 changes: 2 additions & 2 deletions src/protocol/wayland/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use waynest::{
wire::ObjectId,
};

pub use waynest::server::protocol::wayland::wl_surface::*;
pub use waynest::server::protocol::core::wayland::wl_surface::*;

#[derive(Debug, Default)]
struct State {}
Expand Down Expand Up @@ -84,7 +84,7 @@ impl WlSurface for Surface {
&self,
_object: &Object,
_client: &mut Client,
_transform: waynest::server::protocol::wayland::wl_output::Transform,
_transform: waynest::server::protocol::core::wayland::wl_output::Transform,
) -> Result<()> {
todo!()
}
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/xdg/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use waynest::{
wire::ObjectId,
};

pub use waynest::server::protocol::xdg_shell::xdg_surface::*;
pub use waynest::server::protocol::stable::xdg_shell::xdg_surface::*;

#[derive(Debug, Dispatcher)]
pub struct Surface {
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/xdg/toplevel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use waynest::{
wire::ObjectId,
};

pub use waynest::server::protocol::xdg_shell::xdg_toplevel::*;
pub use waynest::server::protocol::stable::xdg_shell::xdg_toplevel::*;

#[derive(Debug, Dispatcher, Default)]
pub struct Toplevel;
Expand Down
2 changes: 1 addition & 1 deletion src/protocol/xdg/wm_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use waynest::{
wire::ObjectId,
};

pub use waynest::server::protocol::xdg_shell::xdg_wm_base::*;
pub use waynest::server::protocol::stable::xdg_shell::xdg_wm_base::*;

#[derive(Debug, Dispatcher, Default)]
pub struct WmBase;
Expand Down

0 comments on commit 511db39

Please sign in to comment.