1
0
Fork 0
forked from wry/wry

ipc: remove X-only code from traits

This commit is contained in:
Julian Orth 2024-10-08 12:58:32 +02:00
parent 1ca5d43557
commit 487efafdf5
6 changed files with 9 additions and 64 deletions

View file

@ -6,7 +6,7 @@ use {
ipc::{
x_data_device::XIpcDevice, zwlr_data_control_device_v1::ZwlrDataControlDeviceV1,
},
wl_seat::{WlSeatError, WlSeatGlobal},
wl_seat::WlSeatGlobal,
},
utils::{
bitflags::BitflagsExt, cell_ext::CellExt, clonecell::CloneCell, numcell::NumCell,
@ -152,11 +152,6 @@ pub trait IpcVtable: Sized {
fn get_device_data(dd: &Self::Device) -> &DeviceData<Self::Offer>;
fn get_device_seat(dd: &Self::Device) -> Rc<WlSeatGlobal>;
fn set_seat_selection(
seat: &Rc<WlSeatGlobal>,
source: &Rc<Self::Source>,
serial: Option<u64>,
) -> Result<(), WlSeatError>;
fn create_offer(
dd: &Rc<Self::Device>,
data: OfferData<Self::Device>,