fix(wayland): ignore viewport struct fields

This commit is contained in:
Nova
2025-09-15 02:00:26 -07:00
parent 0a4d6adf74
commit 27196e2dda

View File

@@ -31,13 +31,16 @@ impl WpViewporter for Viewporter {
#[derive(Debug, Dispatcher)]
pub struct Viewport {
id: ObjectId,
surface_id: ObjectId,
_id: ObjectId,
_surface_id: ObjectId,
}
impl Viewport {
pub fn new(id: ObjectId, surface_id: ObjectId) -> Self {
Self { id, surface_id }
Self {
_id: id,
_surface_id: surface_id,
}
}
}