fix(wayland): ignore viewport struct fields
This commit is contained in:
@@ -31,13 +31,16 @@ impl WpViewporter for Viewporter {
|
|||||||
|
|
||||||
#[derive(Debug, Dispatcher)]
|
#[derive(Debug, Dispatcher)]
|
||||||
pub struct Viewport {
|
pub struct Viewport {
|
||||||
id: ObjectId,
|
_id: ObjectId,
|
||||||
surface_id: ObjectId,
|
_surface_id: ObjectId,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Viewport {
|
impl Viewport {
|
||||||
pub fn new(id: ObjectId, surface_id: ObjectId) -> Self {
|
pub fn new(id: ObjectId, surface_id: ObjectId) -> Self {
|
||||||
Self { id, surface_id }
|
Self {
|
||||||
|
_id: id,
|
||||||
|
_surface_id: surface_id,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user