Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ log = "0.4"
memmap2 = "0.9.0"
rustix = { version = "1.0.7", features = ["fs", "pipe", "shm"] }
thiserror = "2.0.12"
wayland-backend = "0.3.0"
wayland-client = "0.31.1"
wayland-cursor = "0.31.0"
wayland-protocols = { version = "0.32.9", features = ["client", "staging", "unstable"] }
Expand All @@ -44,6 +43,7 @@ calloop-wayland-source = { version = "0.4.0", optional = true }
default = ["calloop", "xkbcommon"]
calloop = ["dep:calloop", "calloop-wayland-source"]
xkbcommon = ["dep:xkbcommon", "bytemuck", "pkg-config", "xkeysym/bytemuck"]
system = ["wayland-client/system"]

[build-dependencies]
pkg-config = { version = "0.3", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/seat/pointer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::{
sync::{Arc, Mutex},
};

use wayland_backend::{client::InvalidId, smallvec::SmallVec};
use wayland_client::backend::{smallvec::SmallVec, InvalidId};
use wayland_client::{
protocol::{
wl_pointer::{self, WlPointer},
Expand Down
2 changes: 1 addition & 1 deletion src/shell/xdg/fallback_frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::{
subcompositor::{SubcompositorState, SubsurfaceData},
};

use wayland_backend::client::ObjectId;
use wayland_client::backend::ObjectId;

/// The size of the header bar.
const HEADER_SIZE: u32 = 24;
Expand Down
8 changes: 4 additions & 4 deletions src/shm/multi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@ struct BufferObjectData {
impl wayland_client::backend::ObjectData for BufferObjectData {
fn event(
self: Arc<Self>,
_backend: &wayland_backend::client::Backend,
msg: wayland_backend::protocol::Message<wayland_backend::client::ObjectId, OwnedFd>,
) -> Option<Arc<dyn wayland_backend::client::ObjectData>> {
_backend: &wayland_client::backend::Backend,
msg: wayland_client::backend::protocol::Message<wayland_client::backend::ObjectId, OwnedFd>,
) -> Option<Arc<dyn wayland_client::backend::ObjectData>> {
debug_assert!(wayland_client::backend::protocol::same_interface(
msg.sender_id.interface(),
wl_buffer::WlBuffer::interface()
Expand All @@ -417,5 +417,5 @@ impl wayland_client::backend::ObjectData for BufferObjectData {
None
}

fn destroyed(&self, _: wayland_backend::client::ObjectId) {}
fn destroyed(&self, _: wayland_client::backend::ObjectId) {}
}
6 changes: 3 additions & 3 deletions src/shm/slot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,8 @@ impl wayland_client::backend::ObjectData for BufferData {
fn event(
self: Arc<Self>,
handle: &wayland_client::backend::Backend,
msg: wayland_backend::protocol::Message<wayland_backend::client::ObjectId, OwnedFd>,
) -> Option<Arc<dyn wayland_backend::client::ObjectData>> {
msg: wayland_client::backend::protocol::Message<wayland_client::backend::ObjectId, OwnedFd>,
) -> Option<Arc<dyn wayland_client::backend::ObjectData>> {
debug_assert!(wayland_client::backend::protocol::same_interface(
msg.sender_id.interface(),
wl_buffer::WlBuffer::interface()
Expand Down Expand Up @@ -539,7 +539,7 @@ impl wayland_client::backend::ObjectData for BufferData {
None
}

fn destroyed(&self, _: wayland_backend::client::ObjectId) {}
fn destroyed(&self, _: wayland_client::backend::ObjectId) {}
}

impl Drop for BufferData {
Expand Down