drivers/inputd: Remove some leftover code from the old way display resizing was handled

This commit is contained in:
bjorn3
2026-03-21 13:45:17 +01:00
parent afa6b64104
commit 05ca76bf59
5 changed files with 1 additions and 51 deletions
-2
View File
@@ -48,8 +48,6 @@ fn daemon(daemon: daemon::Daemon, mut pcid_handle: PciFunctionHandle) -> ! {
display: ProducerHandle::new().ok(),
};
scheme.update_size();
register_sync_scheme(&socket, "bga", &mut scheme).expect("bgad: failed to register bga scheme");
daemon.ready();
-16
View File
@@ -13,20 +13,6 @@ pub struct BgaScheme {
pub display: Option<ProducerHandle>,
}
impl BgaScheme {
pub fn update_size(&mut self) {
if let Some(ref mut display) = self.display {
let _ = display.write_event(
orbclient::ResizeEvent {
width: self.bga.width() as u32,
height: self.bga.height() as u32,
}
.to_event(),
);
}
}
}
const SCHEME_ROOT_ID: usize = 1;
impl SchemeSync for BgaScheme {
@@ -98,8 +84,6 @@ impl SchemeSync for BgaScheme {
self.bga.set_size(width, height);
self.update_size();
Ok(buf.len())
}
@@ -292,10 +292,6 @@ impl<T: GraphicsAdapter> GraphicsScheme<T> {
.handle_cursor(&vt_state.cursor_plane, true);
}
}
VtEventKind::Resize => {
log::warn!("driver-graphics: resize is not implemented yet")
}
}
}
}